forked from cartoonnerie/g1-eq5-Release
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
32 lines (32 loc) · 857 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"parserOptions": {
"emcmaVersion": 6,
"sourceType": "module"
},
"parser": "esprima",
"extends": "eslint:recommended",
"rules": {
"quotes": ["warn", "single", { "avoidEscape": true }],
"semi": ["error", "always"],
"no-duplicate-case": "warn",
"camelcase": "error",
"no-var": "error",
"brace-style": ["warn", "1tbs", { "allowSingleLine": true }],
"comma-spacing": ["warn", { "before": false, "after": true }],
"eqeqeq": ["error", "always"],
"arrow-spacing": "warn",
"indent": ["warn", 4],
"no-mixed-spaces-and-tabs": "error",
"no-multi-spaces": "warn",
"block-spacing": "warn",
"no-whitespace-before-property": "error",
"keyword-spacing": "error",
"no-async-promise-executor": 0
},
"env": {
"node": true,
"mocha": true,
"es6": true,
"browser": true
}
}