-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
39 lines (39 loc) · 1.12 KB
/
.eslintrc.json
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
39
{
"extends": "standard",
"env": {
"node": true
},
"rules": {
"semi": ["error", "always"],
"indent": ["error", 4, {
"SwitchCase": 1
}],
"quotes": ["error", "double"],
"brace-style": ["error", "1tbs"],
"curly": ["error", "all"],
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
"no-useless-escape": "error",
"yoda": ["error", "never"],
"eqeqeq": ["error", "always"],
"no-alert": "error",
"comma-dangle": ["error", "never"],
"camelcase": "error",
"no-buffer-constructor": "error",
"no-empty-function": "error",
"no-eval": "error",
"no-implied-eval": "error",
"no-path-concat": "error",
"no-script-url": "error",
"no-void": "error",
"no-mixed-requires": "error",
"no-use-before-define": "error",
"handle-callback-err": "error",
"no-lonely-if": "error",
"callback-return": "error",
"no-var": "error"
}
}