-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
29 lines (29 loc) · 894 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
{
"extends": "airbnb-base",
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "script"
},
"env": {
"node": true,
"jasmine": 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",
"rest-spread-spacing": ["error"],
"no-path-concat": "error",
"no-debugger": "error",
"handle-callback-err": ["error", "error"]
}
}