forked from softonic/axios-retry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (37 loc) · 1.01 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", "plugin:jasmine/recommended", "prettier"],
"plugins": ["jasmine", "prettier"],
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"semi": true,
"parser": "babylon"
}
],
"jasmine/no-spec-dupes": ["warn", "branch"],
"jasmine/no-suite-dupes": ["warn", "branch"],
"valid-jsdoc": [
"warn",
{
"requireReturn": false,
"requireParamDescription": false,
"requireReturnDescription": false,
"prefer": {
"returns": "return",
"params": "param"
}
}
],
"complexity": ["warn", 7],
"no-param-reassign": ["error", { "props": false }],
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"object-shorthand": ["error", "always", { "avoidQuotes": true }],
"comma-dangle": ["warn", "never"],
"consistent-return": "off",
"no-restricted-properties":"off"
}
}