-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
54 lines (54 loc) · 1.15 KB
/
index.js
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
49
50
51
52
53
54
module.exports = {
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true,
},
},
"rules": {
"comma-dangle": [0],
"consistent-this": [1, "self"],
"curly": [2],
"default-case": [2],
"dot-notation": [1],
"eqeqeq": [2],
"guard-for-in": [2],
"indent": [2, 2, {
SwitchCase: 1,
VariableDeclarator: 1,
}],
"linebreak-style": [2, "unix"],
"max-nested-callbacks": [1, 3],
"no-alert": [2],
"no-caller": [2],
"no-console": [0],
"no-constant-condition": [0],
"no-else-return": [2],
"no-eval": [2],
"no-lone-blocks": [2],
"no-multi-spaces": [2],
"no-nested-ternary": [2],
"no-self-compare": [2],
"no-sequences": [2],
"no-sync": [1],
"no-throw-literal": [2],
"no-trailing-spaces": [2],
"no-underscore-dangle": [0],
"no-useless-call": [2],
"no-void": [2],
"no-with": [2],
"radix": [2],
"semi": [2, "always"],
"space-infix-ops": [2],
"strict": [2, "global"],
"vars-on-top": [2]
},
"settings": {
"ecmascript": 6
}
};