-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
45 lines (45 loc) · 1.48 KB
/
.eslintrc.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
44
45
{
"env": {
"node": true,
"jest": true,
"es2020": true
},
"extends": [
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"parserOptions": {
"project": "./tsconfig-lint.json",
"tsconfigRootDir": "."
},
"rules": {
"callback-return": "off",
"complexity": [
"error",
{ "max": 6 }
],
"no-undef": "off",
"no-undefined": "off",
"no-unused-vars": "off",
"no-unreachable": "error",
"no-warning-comments": "off",
"eqeqeq": ["error", "always", { "null": "ignore" }],
"padding-line-between-statements": "off",
"no-void": ["error", { "allowAsStatement": true }],
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/no-floating-promises": ["error", { "ignoreVoid": true }],
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-pattern": "off",
"no-throw-literal": "off",
"@typescript-eslint/no-throw-literal": ["off"],
"import/prefer-default-export": "off",
"valid-typeof": "error",
"import/extensions": "off",
"import/no-extraneous-dependencies": "off"
}
}