-
Notifications
You must be signed in to change notification settings - Fork 42
/
.eslintrc
42 lines (39 loc) · 809 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
{
"env": {
"node": true
},
"rules": {
// warnings
"no-unused-expressions": 1,
"no-warning-comments": 1,
"no-native-reassign": 1,
"no-invalid-regexp": 1,
"no-debugger": 1,
"no-console": 1,
"no-empty": 1,
"radix": 1,
// errors
"no-shadow-restricted-names": 2,
"handle-callback-err": 2,
"no-self-compare": 2,
"no-empty-class": 2,
"no-unused-vars": 2,
"no-dupe-keys": 2,
"valid-typeof": 2,
"no-undef": 2,
// stylistic errors
"quotes": [2, "single", "avoid-escape"],
"no-space-before-semi": 2,
"no-spaced-func": 2,
"yoda": "always",
"new-cap": 2,
// mute
"no-use-before-define": 0,
"no-multi-spaces": 0,
"eol-last": 0,
"strict": 0,
"eqeqeq": 0,
"curly": 0,
"semi": 0
}
}