-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
43 lines (43 loc) · 933 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
{
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {
}
},
"env": {
"node": true,
"es6": true
},
"rules": {
"camelcase": 1,
"complexity": [2, 5],
"comma-spacing": 1,
"consistent-return": 0,
"eol-last": 1,
"eqeqeq": [2, "smart"],
"indent": ["error", "tab"],
"max-depth": [1, 2],
"max-len": [2, 100],
"max-statements": [1, 15],
"no-use-before-define": [2, "nofunc"],
"no-process-exit": 0,
"no-trailing-spaces": 1,
"no-underscore-dangle": 0,
"no-unused-vars": 1,
"space-infix-ops": 1,
"quotes": [1, "single"],
"semi": [1, "always"],
"semi-spacing": 1,
"strict": [2, "global"],
"yoda": [1, "never"]
},
"globals": {
"describe": true,
"it": true,
"before": true,
"beforeEach": true,
"after": true,
"afterEach": true
}
}