-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
33 lines (33 loc) · 1016 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
{
"rules": {
"semi": ["error", "always"],
"quotes": ["error", "double"],
"no-console": "warn",
"no-unreachable": "warn",
"no-unreachable-loop": "error",
"valid-typeof": "error",
"accessor-pairs": "error",
"class-methods-use-this": "error",
"curly": ["error", "multi"],
"default-case-last": "error",
"default-param-last": "error",
"dot-notation": "error",
"guard-for-in": "error",
"no-case-declarations": "error",
"no-multi-spaces": "error",
"no-useless-catch": "error",
"array-bracket-spacing": ["error", "never"],
"block-spacing": "error",
"brace-style": ["error", "1tbs"],
"comma-dangle": ["error", "never"],
"computed-property-spacing": ["error", "never"],
"indent": ["error", 4, { "SwitchCase": 1 }],
"no-var": "error"
},
"parserOptions": {
"ecmaVersion": 2021
},
"env": {
"es6": true
}
}