-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
58 lines (56 loc) · 1.62 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2019
},
"env": {
"node": true,
"es6": true
},
"rules": {
"getter-return": "error",
"no-console": "off",
"no-template-curly-in-string": "error",
"array-callback-return": "error",
"block-scoped-var": "error",
"curly": ["error", "multi-line"],
"eqeqeq": "error",
"no-eval": "error",
"no-extend-native": "error",
"no-fallthrough": "off",
"no-floating-decimal": "error",
"no-implicit-coercion": "error",
"no-implied-eval": "error",
"no-invalid-this": "error",
"no-iterator": "error",
"no-labels": "error",
"no-lone-blocks": "error",
"no-new-func": "error",
"no-new-wrappers": "error",
"no-proto": "error",
"no-return-assign": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-throw-literal": "error",
"no-unused-expressions": "error",
"no-void": "error",
"no-warning-comments": "warn",
"no-with": "error",
"radix": "error",
"no-undefined": "error",
"no-use-before-define": ["error", {"functions": false, "classes": false, "variables": true}],
"callback-return": "error",
"handle-callback-err": "error",
"no-buffer-constructor": "error",
"no-path-concat": "error",
"no-process-env": "error",
"no-unused-vars": ["warn", {"args": "none"}],
"no-var": "error",
"prefer-arrow-callback": "warn",
"semi": "error",
"linebreak-style": ["warn", "windows"],
"no-bitwise": "error",
"one-var": ["warn", "never"],
"quotes": ["error", "single", {"allowTemplateLiterals": true}]
}
}