-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
30 lines (30 loc) · 881 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
{
"env": {
"es6": true
},
"rules": {
"comma-dangle": ["error", "never"],
"eol-last": "error",
"keyword-spacing": ["error", {"overrides": {
"catch": {"after": false},
"do": {"after": false},
"for": {"after": false},
"if": {"after": false},
"switch": {"after": false},
"while": {"after": false}
}}],
"indent": ["error", 2, {"SwitchCase": 1}],
"max-len": ["error", 80],
"no-irregular-whitespace": "error",
"no-mixed-spaces-and-tabs": "error",
"no-spaced-func": "error",
"no-trailing-spaces": "error",
"object-curly-spacing": ["error", "never"],
"semi": ["error", "always"],
"space-before-blocks": "error",
"space-before-function-paren": ["error", "never"],
"space-infix-ops": "error",
"space-in-parens": ["error", "never"],
"spaced-comment": ["error", "always"]
}
}