forked from timhuff/objection-soft-delete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (37 loc) · 977 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
{
"env": {
"node": true,
"es6": true
},
"extends": "airbnb",
"globals": {
"$": true,
"describe": true,
"it": true,
"xit": true,
"expect": true,
"before": true,
"beforeEach": true,
"after": true,
"afterEach": true
},
"rules": {
"generator-star-spacing": 0,
"key-spacing": [2, { "mode": "minimum" }],
"no-multi-spaces": [2, { "exceptions": { "ImportDeclaration": true, "VariableDeclarator": true } }],
"max-len": [0],
"no-script-url": 0,
"no-underscore-dangle": 0,
"space-before-function-paren": ["error", "never"],
"no-use-before-define": ["error", { "functions": false }],
"array-callback-return": 0,
"prefer-rest-params": 0,
"no-restricted-syntax": 0,
"arrow-body-style": ["error", "always"],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"spaced-comment": 0,
"no-await-in-loop": 0,
"no-multi-assign": 0,
"no-return-await": 2,
}
}