-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path.eslintrc.json
More file actions
38 lines (35 loc) · 1008 Bytes
/
.eslintrc.json
File metadata and controls
38 lines (35 loc) · 1008 Bytes
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
{
"env": {
"browser": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 13,
"sourceType": "module"
},
"rules": {
"comma-dangle": [
"warn", {
"arrays" : "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline"
}
],
"indent": [ "warn", 4, { "SwitchCase": 1 } ],
"quotes": [
"warn",
"single", {
"allowTemplateLiterals": true,
"avoidEscape": true
}
],
"keyword-spacing" : [ "warn", { "before": true } ],
"no-case-declarations": [ "warn" ],
"no-extra-semi" : [ "warn" ],
"no-shadow" : [ "warn" ],
"no-undef" : [ "error" ],
"no-unused-vars" : [ "warn" ],
"semi" : [ "warn", "always" ]
}
}