-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
37 lines (37 loc) · 891 Bytes
/
.eslintrc.json
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
{
"root": true,
"env": {
"browser": true,
"commonjs": true,
"node": true,
"es6": true,
"es2021": true
},
"rules": {
"no-undef-init": "warn",
"no-duplicate-case": "warn",
"no-empty": "warn",
"no-extra-semi": "warn",
"no-func-assign": "warn",
"no-irregular-whitespace": "warn",
"no-unreachable": "warn",
"curly": "warn",
"dot-notation": "warn",
"eqeqeq": "warn",
"no-empty-function": "warn",
"no-multi-spaces": "warn",
"no-mixed-spaces-and-tabs": "warn",
"no-trailing-spaces": "warn",
"default-case": "warn",
"no-fallthrough": "warn",
"no-unused-vars": "warn",
"no-use-before-define": "warn",
"no-redeclare": "warn",
"brace-style": "warn",
"indent": ["warn", 4],
"quotes": ["warn", "single"],
"semi": ["warn", "always"],
"radix": "off"
},
"extends": ["prettier"]
}