-
Notifications
You must be signed in to change notification settings - Fork 43
/
.eslintrc.json
44 lines (44 loc) · 985 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
33
34
35
36
37
38
39
40
41
42
43
44
{
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {}
},
"extends": [
"eslint:recommended"
],
"rules": {
"quotes": [1, "single", "avoid-escape"],
"semi": 1,
"no-console": 0,
"no-alert": 0,
"no-unused-vars": 1,
"camelcase": 0,
"no-trailing-spaces": 0,
"eqeqeq": 2,
"no-eval": 2,
"no-fallthrough": 2,
"radix": 2,
"no-shadow": 1,
"strict": 1,
"comma-dangle": 0,
"eol-last": 1,
"func-style": [0, "expression", { "allowArrowFunctions": true }],
"key-spacing": [1, {"beforeColon": false, "afterColon": true}],
"arrow-spacing": [1, {"before": true, "after": true}],
"no-var": 2,
"prefer-const": [1, {"destructuring": "all"}],
"rest-spread-spacing": [2, "never"],
"yield-star-spacing": [2, "after"],
"no-loop-func": 0
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": [],
"globals": {
"$": false
}
}