-
Notifications
You must be signed in to change notification settings - Fork 9
/
.eslintrc
36 lines (36 loc) · 979 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
{
"env": {
"browser": true,
"node": true
},
"rules": {
"indent": [2, 2, {"VariableDeclarator": 2, "SwitchCase": 1}],
"max-len": [2, 100, 2],
"eol-last": 0,
"camelcase": 2,
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"quote-props": [2, "as-needed", {"keywords": true}],
"dot-notation": [2, {"allowKeywords": false}],
"quotes": [2, "single", "avoid-escape"],
"no-extra-parens": 2,
"new-parens": 0,
"new-cap": [2, {"newIsCap": true, "capIsNew": false}],
"no-use-before-define": 0,
"no-cond-assign": 0,
"no-underscore-dangle": 0,
"no-native-reassign": 0,
"no-shadow-restricted-names": 0,
"no-fallthrough": 0,
"eqeqeq": 0,
"comma-spacing": 0,
"no-multi-spaces": 0,
"key-spacing": 0,
"strict": 0,
"no-mixed-requires": 0,
"no-loop-func": 0,
"no-unused-expressions": 0,
"curly": 0,
"max-nested-callbacks": [2, 4],
"no-multiple-empty-lines": 2
}
}