-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
44 lines (44 loc) · 907 Bytes
/
.eslintrc
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
{
"extends": [
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"ecmaFeatures": {
"jsx": false,
"modules": true,
"restParams": true,
"spread": true
},
"env": {
"browser": false,
"jquery": false,
"node": true
},
"parser": "babel-eslint",
"rules": {
"no-underscore-dangle": 0,
"quotes": [2, "single"],
"strict": [2, "never"],
"semi": [2, "always"],
"spaced-comment": 2,
"object-curly-spacing": [2, "always"],
"indent": [2, 2, {"SwitchCase": 1}],
"no-multiple-empty-lines": [1, {"max": 1}],
"no-debugger": 2,
"no-console": 2,
"no-warning-comments": 1,
"no-unneeded-ternary": 2,
"no-empty": 2,
"radix": 2,
"brace-style": 2,
"camelcase": 1,
"max-depth": [2, 10],
"max-statements": [1, 30],
"complexity": [1, 10]
},
"plugins": [
]
}