-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
47 lines (42 loc) · 1.17 KB
/
.eslintrc.json
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
{
"env": {
"node": true,
"mocha": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2017
},
"extends":"eslint:recommended",
"rules": {
"brace-style": [1, "1tbs"],
"comma-dangle": [1, "never"],
"computed-property-spacing": [1, "never"],
"curly": [1, "all"],
"eqeqeq": [1, "always"],
"max-len": [1, 128],
"no-empty": [1, { "allowEmptyCatch": true }],
"no-trailing-spaces": 1,
"no-unused-vars": [1, {"args": "none"}],
"no-use-before-define": [1, "nofunc"],
"quotes": [1, "single", {"avoidEscape": true}],
"semi": [1, "always"],
"keyword-spacing": [1, {"before": true, "after": true}],
"space-unary-ops": 1,
"indent": ["error",2],
"no-mixed-spaces-and-tabs": 1,
"padded-blocks": [1, "never"],
"callback-return": 1,
"no-extra-semi": 1,
"no-inner-declarations": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-new-wrappers": 2,
"no-with": 2,
"no-undef": 2,
"array-bracket-spacing": [2, "never"],
"no-array-constructor": 2,
"no-new-object": 2,
"no-console": 2
}
}