-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
46 lines (43 loc) · 915 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
45
46
{
"env": {
"node": true,
"mocha": true
},
"globals": {
"expect": true
},
"rules": {
// Ignore Rules
"strict": 0,
"no-underscore-dangle": 0,
"no-mixed-requires": 0,
"no-use-before-define": 0,
"no-process-exit": 0,
// Warnings
"no-debugger": 1,
"no-empty": 1,
"no-invalid-regexp": 1,
"no-warning-comments": 1,
"no-unused-expressions": 1,
"no-native-reassign": 1,
"no-fallthrough": 1,
"camelcase": 1,
"no-unused-vars": 1,
// Errors
"no-undef": 2,
"no-dupe-keys": 2,
"no-empty-character-class": 2,
"no-self-compare": 2,
"valid-typeof": 2,
"handle-callback-err": 2,
"no-shadow-restricted-names": 2,
"radix": 2,
"no-new-require": 2,
"no-mixed-spaces-and-tabs": 2,
// stylistic errors
"new-cap": 2,
"no-spaced-func": 2,
"semi-spacing": 2,
"quotes": [1, "single"]
}
}