-
Notifications
You must be signed in to change notification settings - Fork 21
/
.eslintrc
39 lines (39 loc) · 909 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
{
"parser" : "babel-eslint",
"extends" : [
"standard"
],
"plugins": [
"babel"
],
"env" : {
"browser" : true
},
"globals" : {
"If": true,
"Else": true
},
"rules": {
"comma-dangle": ["error", "only-multiline"],
"semi" : [2, "always"],
"generator-star-spacing": 0,
"babel/generator-star-spacing": 1,
"strict": [2, "never"],
"indent": [2, 2],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],
"no-reserved-keys": 0,
"no-wrap-func": 0,
"no-console": 0,
"spaced-line-comment": 0,
"no-multiple-empty-lines": [2, {"max": 3}],
"space-before-function-paren": [2, "never"],
"padded-blocks": [0, "always"],
"space-in-parens": [0, "always"],
"keyword-spacing": ["error", { "overrides": {
"if": { "after": false },
"for": { "after": false },
"while": { "after": false }
} }]
}
}