-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (38 loc) · 1.21 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
{
"extends": "airbnb-base",
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "script"
},
"env": {
"node": true,
"jasmine": true,
"jest": true
},
"rules": {
"no-underscore-dangle": "off",
"indent": ["error", 4],
"no-param-reassign": ["error", { "props": false }],
"no-use-before-define": ["error", { "functions": false }],
"import/no-dynamic-require": "off",
"global-require": "off",
"strict": ["error", "global"],
"comma-dangle": "off",
"prefer-promise-reject-errors": "off",
"no-restricted-globals": ["error", "isFinite"],
"func-names": ["error", "as-needed"],
"semi-spacing": "error",
"function-paren-newline": ["error", "consistent"],
"rest-spread-spacing": ["error"],
"no-path-concat": "error",
"no-debugger": "error",
"handle-callback-err": ["error", "error"],
"import/no-extraneous-dependencies": "off",
"class-methods-use-this": "off",
"no-restricted-syntax": "off",
"no-await-in-loop": "off",
"no-plusplus": "off",
"no-continue": "off",
"prefer-object-spread": "off"
}
}