-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc-base.json
43 lines (43 loc) · 1.19 KB
/
.eslintrc-base.json
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
{
"extends": ["airbnb-base"],
"rules": {
"no-restricted-properties": "off",
"complexity": ["error", 15],
"max-depth": ["error", 4],
"max-nested-callbacks": ["error", 3],
"max-params": ["error", 6],
"max-statements": ["error", 25],
"no-use-before-define": "off",
"no-constant-condition": "off",
"no-plusplus": "off",
"object-curly-spacing": "off",
"object-property-newline": [
"error",
{
"allowAllPropertiesOnSameLine": false
}
],
"no-warning-comments": "off",
"no-nested-ternary": "off",
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"],
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "always-multiline"
}
],
"no-restricted-globals": "off",
"operator-linebreak": ["error", "after"],
"import/no-named-as-default": "off",
"import/no-cycle": "off",
"import/prefer-default-export": "off",
"import/extensions": "off"
}
}