-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
38 lines (38 loc) · 897 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
36
37
38
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"rules": {
"curly": 2,
"dot-notation": 0,
"comma-style": [
2,
"last"
],
"no-unused-expressions": 2,
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"varsIgnorePattern": "config"
}
],
"quotes": [2, "single", {"avoidEscape": true, "allowTemplateLiterals": true}],
"no-trailing-spaces": "error",
"semi": ["error", "always"],
"brace-style": "error",
"keyword-spacing": ["error", { "after": true, "before": true }],
"comma-dangle": ["error", "never"],
"no-console": "error",
"no-debugger": "error",
"no-unreachable": "error",
"no-dupe-args": "error",
"no-dupe-keys": "error",
"no-func-assign": "error",
"no-sparse-arrays": "error",
"space-before-blocks": "error"
}
}