-
Notifications
You must be signed in to change notification settings - Fork 15
/
.eslintrc
35 lines (35 loc) · 842 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
{
"globals": {
"define": true,
"module": true,
"L": true
},
"plugins": [
"html"
],
"settings": {
"html/indent": "space",
"html/report-bad-indent": 2
},
"rules": {
"camelcase": "error",
"comma-spacing": ["error", {"after": true}],
"comma-style": "error",
"indent": "error",
"key-spacing": "error",
"keyword-spacing": "error",
"no-console": "error",
"no-constant-condition": "off",
"no-lonely-if": "error",
"no-multi-spaces": "error",
"no-shadow": "off",
"no-trailing-spaces": "error",
"no-underscore-dangle": "off",
"object-curly-spacing": "error",
"quotes": ["error", "single", "avoid-escape"],
"space-before-blocks": "error",
"space-before-function-paren": ["error", "never"],
"space-in-parens": "error",
"strict": "off"
}
}