-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc
35 lines (34 loc) · 905 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
{
"extends": "eslint:recommended",
"ecmaFeatures": {
"modules": true,
"experimentalObjectRestSpread": true
},
"env": {
"browser": true,
"es6": true
},
"parser": "babel-eslint",
"rules": {
"array-bracket-spacing": [2, "always"],
"comma-dangle": [2, "never"],
"eol-last": 2,
"indent": [
"error",
2,
{
"VariableDeclarator": { "var": 2, "let": 2, "const": 2 },
"SwitchCase": 0
}
],
"no-multiple-empty-lines": 2,
"object-curly-spacing": [2, "always"],
"quotes": [2, "single", "avoid-escape"],
"strict": 0,
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, {"anonymous":"always","named":"never"}],
"space-infix-ops": 2
},
"plugins": [
]
}