-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
50 lines (49 loc) · 1.15 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"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",
"camelcase": "warn",
"brace-style": "warn",
"indent": [
"warn",
4
],
"quotes": [
"warn",
"double"
],
"semi": [
"warn",
"always"
]
}
}