forked from geritol/secret-backup-operator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
45 lines (45 loc) · 1.07 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
{
"extends": ["eslint:recommended", "emarsys", "prettier"],
"plugins": ["chai-friendly", "chai-expect", "prettier"],
"env": {
"es6": true,
"node": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module"
},
"rules": {
"prettier/prettier": ["error"],
"no-unused-expressions": 0,
"chai-friendly/no-unused-expressions": 2,
"curly": ["error", "multi-line"],
"array-callback-return": 2,
"no-eval": 2,
"no-extra-bind": 2,
"no-else-return": 2,
"no-implicit-globals": 2,
"radix": 2,
"no-self-compare": 2,
"no-useless-constructor": 2,
"object-shorthand": [2, "always"],
"prefer-arrow-callback": 2,
"prefer-const": 2,
"prefer-template": 2,
"require-await": 2,
"no-useless-return": 2,
"chai-expect/no-inner-compare": 2,
"chai-expect/no-inner-literal": 2,
"chai-expect/missing-assertion": 2,
"chai-expect/terminating-properties": 2
},
"overrides": [
{
"files": ["*.test.js"],
"globals": {
"expect": "readonly"
}
}
]
}