-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy path.eslintrc
35 lines (35 loc) · 983 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
{
"env": {
"node": true
},
"rules": {
"strict": 0,
"quotes": 0,
"indent": [2, 2],
"curly": [2, "multi-line"],
"no-use-before-define": [1, "nofunc"],
"no-unused-vars": [2, "all"],
"no-mixed-requires": [1, true],
"max-depth": [1, 5],
"max-len": [1, 80, 4],
"max-params": [1, 6],
"max-statements": [1, 20],
"eqeqeq": 0,
"new-cap": 0,
"no-else-return": 1,
"no-eq-null": 1,
"no-lonely-if": 1,
"no-path-concat": 0,
"comma-dangle": 0,
"complexity": [1, 20],
"no-floating-decimal": 1,
"no-void": 1,
"no-sync": 1,
"consistent-this": [1, "nope-dont-capture-this"],
"max-nested-callbacks": [2, 3],
"no-nested-ternary": 1,
"space-after-keywords": [1, "always"],
"space-before-function-paren": [1, "never"],
"spaced-line-comment": [1, "always"]
}
}