forked from PatrickJS/redis-dataloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
50 lines (50 loc) · 1.32 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
{
"extends": [
"prettier"
],
"env": {
"node": true,
"mocha": true,
"es6": true,
},
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": ["error", {
"singleQuote": true,
"trailingComma": "es5"
}],
"no-dupe-keys": ["error"],
"no-dupe-args": ["error"],
"no-duplicate-case": ["error"],
"no-empty": ["error"],
"no-empty-character-class": ["error"],
"no-extra-semi": ["error"],
"no-func-assign": ["error"],
"no-invalid-regexp": ["error"],
"eqeqeq": ["error"],
"no-fallthrough": ["error"],
"no-floating-decimal": ["error"],
"no-global-assign": ["error"],
"no-lone-blocks": ["error"],
"no-throw-literal": ["error"],
"no-unused-expressions": ["warn"],
"no-useless-escape": ["warn"],
"no-useless-concat": ["error"],
"vars-on-top": ["error"],
"no-unused-vars": ["error"],
"no-use-before-define": ["error"],
"global-require": ["error"],
"no-process-env": ["error"],
"no-process-exit": ["error"],
"no-const-assign": ["error"],
"no-var": ["error"],
"prefer-const": ["error"],
"prefer-rest-params": ["error"],
"prefer-spread": ["error"],
"prefer-template": ["warn"],
"no-multiple-empty-lines": ["error"],
"func-style": ["error", "expression", { "allowArrowFunctions": true }]
}
}