-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.eslintrc
42 lines (36 loc) · 1006 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
37
38
39
40
41
42
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"ecmaFeatures": {
"modules": true,
"jsx": true
},
"rules": {
"strict": 0,
"comma-dangle": [2, "always-multiline"],
"no-floating-decimal": 2,
"no-shadow": 1,
"indent": [2, 2, {"indentSwitchCase": true}],
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
"comma-style": [2, "last"],
"consistent-this": [2, "self"],
"consistent-return": 0,
"curly": [2, "multi-line"],
"new-cap": [2, {"newIsCap": true, "capIsNew": false}],
"quote-props": [2, "as-needed"],
"quotes": [2, "single", "avoid-escape"],
"space-after-function-name": [2, "never"],
"space-after-keywords": [2, "always"],
"space-before-blocks": [2, "always"],
"space-in-brackets": [2, "never"],
"space-in-parens": [2, "never"],
"spaced-line-comment": [2, "always"],
"yoda": [2, "never"],
"no-var": 2,
"generator-star": [2, "start"]
}
}