-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
executable file
·39 lines (39 loc) · 999 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
{
"env": {
"node": true,
"mocha": true
},
"rules": {
"block-scoped-var": 2,
"brace-style": 2,
"consistent-this": [2, "self"],
"eol-last": 2,
"key-spacing": [2,{ "beforeColon": false, "afterColon": true }],
"max-len": [1, 132, 2],
"max-nested-callbacks": [2, 4],
"no-array-constructor": 2,
"no-else-return": 2,
"no-eq-null": 2,
"no-floating-decimal": 2,
"no-mixed-spaces-and-tabs": 2,
"no-process-exit": 0,
"no-shadow": 0,
"no-self-compare": 2,
"no-spaced-func": 2,
"no-trailing-spaces": 0,
"no-undefined": 2,
"no-use-before-define": [2, "nofunc"],
"camelcase" : [0 ,"never"],
"no-underscore-dangle": false,
"no-warning-comments": [2, {"terms": ["@bug"]}],
"quotes": [2, "single", "avoid-escape"],
"radix": 2,
"space-after-keywords": 0,
"space-in-parens": [2, "never"],
"space-unary-ops": 2,
"strict": false,
"strict": true,
"valid-jsdoc": 2,
"new-cap": 0
}
}