-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy path.eslintrc
37 lines (37 loc) · 884 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
{
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": { "modules": true }
},
"rules": {
"max-len": [2, 80, 2, {"ignoreUrls": true}],
"indent": [2, 4, {"SwitchCase": 1}],
"semi": ["error", "always"],
"no-trailing-spaces": 2,
"no-multi-spaces": 2,
"array-bracket-spacing": 2,
"keyword-spacing": ["error", { "after": true, "before": true }],
"max-depth": [2, 7],
"max-statements": [2, 133],
"complexity": [2, 45],
"no-unused-vars": 2,
"no-eval": 2,
"no-underscore-dangle": 0,
"no-loop-func": 2,
"no-floating-decimal": 2,
"curly": 2,
"eqeqeq": [2, "smart"],
"quotes": [2, "single"],
"new-cap": 2,
"radix": [2, "always"]
},
"env": {
"es6": true,
"browser": true,
"node": false
},
"globals": {
"__webpack_public_path__": false
}
}