-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (36 loc) · 1.1 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
37
{
"env": {
"node": true
},
"rules": {
"comma-dangle": 0,
"no-console": [2],
"no-reserved-keys": 0,
"curly": [2, "multi-line"],
"dot-location": [2, "property"],
"eqeqeq": [2, "smart"],
"no-div-regex": 0,
"strict": [2, "global"],
"no-use-before-define": [2, "nofunc"],
"consistent-this": [2, "self"],
"indent": [2, 2, {"indentSwitchCase": true}],
"max-nested-callbacks": [2, 1],
"new-cap": [1, {"newIsCap": true, "capIsNew": false}],
"no-lonely-if": 2,
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"no-multiple-empty-lines": 2,
"no-unneeded-ternary": 2,
"one-var": [2, {"initialized": "never"}],
"operator-assignment": [1, "always"],
"operator-linebreak": [2, "after"],
"quote-props": [2, "as-needed"],
"quotes": [2, "single", "avoid-escape"],
"space-before-blocks": 2,
"space-before-function-paren": [2, "never"],
"space-in-brackets": [2, "never"],
"space-in-parens": [2, "never"],
"space-infix-ops": 2,
"space-return-throw-case": 2,
"space-unary-ops": [2, {"words": true, "nonwords": false}]
}
}