-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
35 lines (35 loc) · 839 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
34
35
{
"env": {
"browser": true,
"es6": true
},
"settings": {
"html/indent": "+2" // indentation is the <script> indentation plus two spaces.
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"globals": {
"global": true
},
"rules": {
"indent": [
"warn",
2
],
"no-console": [
"off"
],
"no-useless-escape": ["off"],
"comma-spacing": [ "warn" ],
"space-before-function-paren": [ "warn" ],
"space-infix-ops": ["warn"],
"no-var": [ "warn" ],
"prefer-const": [ "warn" ],
"eqeqeq": [ "warn" ],
"keyword-spacing": [ "warn" ],
"spaced-comment": [ "warn" ],
"block-scoped-var": ["warn"]
}
}