-
Notifications
You must be signed in to change notification settings - Fork 436
/
.eslintrc
37 lines (37 loc) · 1.1 KB
/
.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
36
37
{
"rules": {
"no-console" : ["error", { "allow": ["warn", "error"] }],
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"block-spacing" : [2, "always"],
"comma-style" : [2, "last"],
"no-debugger" : [1],
"no-alert" : [1],
"indent" : [1, 4, {"SwitchCase":1}],
"strict" : 0,
"no-undef" : 1,
"no-dupe-args" : 2,
"no-const-assign" : 2,
"no-extra-semi" : 2,
"no-dupe-class-members" : 2,
"no-dupe-else-if" : 2,
"no-dupe-keys" : 2,
"no-invalid-regexp" : 2,
"valid-typeof" : 2
},
"parserOptions": {
"ecmaVersion" : 2020,
"sourceType": "module",
"ecmaFeatures": {
"modules": true,
"sourceType": "module"
}
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"globals": {
"jQuery": "readonly"
}
}