-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
36 lines (36 loc) · 1.05 KB
/
.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
{
"extends": "eslint:recommended",
"env": {
"mocha": true,
"es6": true,
"node": true
},
"rules": {
"no-extra-parens": 1,
"eqeqeq": 2,
"no-eval": 2,
"no-multi-spaces": 1,
"no-undef-init": 2,
"no-use-before-define": 2,
"no-process-exit": 2,
"no-sync": 2,
"array-bracket-spacing": [1, "never"],
"block-spacing": [1, "always"],
"brace-style": 1,
"camelcase": 1,
"comma-spacing": [2, {"before": false, "after": true}],
"computed-property-spacing": [2, "never"],
"indent": 2,
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"max-len": [2, 120, 4, {"ignoreComments": true, "ignoreUrls": true}],
"no-array-constructor": 2,
"no-bitwise": 2,
"no-multiple-empty-lines": 1,
"no-trailing-spaces": 1,
"semi": [2, "always"],
"spaced-comment": [1, "always"],
"no-const-assign": 2,
"no-var": 2,
"prefer-template": 1
}
}