forked from OpenBookPrices/country-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
48 lines (44 loc) · 947 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
47
48
{
"env": {
"node": true,
"mocha": true
},
"globals": {
"expect": true
},
"rules": {
}, "rules": { // Ignore Rules
// Ignore Rules
"strict": 0,
"no-underscore-dangle": 0,
"no-mixed-requires": 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,
"handle-callback-err": 1,
"camelcase": 1,
// Errors
"no-undef": 2,
"no-dupe-keys": 2,
"no-empty-class": 2,
"no-self-compare": 2,
"valid-typeof": 2,
"no-unused-vars": 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,
"no-space-before-semi": 2,
"space-unary-word-ops": 2,
"quotes": [2, "single"]
}
}