-
Notifications
You must be signed in to change notification settings - Fork 19
/
.eslintrc
38 lines (38 loc) · 1.03 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
38
{
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"rules": {
"indent": [2, 2, {"VariableDeclarator": 2, "SwitchCase": 1}],
"max-len": [2, 120, 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"],
"new-parens": 0,
"new-cap": [2, {"newIsCap": true, "capIsNew": false}],
"no-wrap-func": 0,
"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,
"no-unused-vars": [2, {"args": "none"}],
"curly": 0,
"max-nested-callbacks": [2, 4],
"no-multiple-empty-lines": 2
}
}