Skip to content

Commit 7d62af7

Browse files
committed
Enable '@typescript-eslint/recommended-requiring-type-checking'
We selectively fixed and enabled most of its warnings, and then disabled the ones we cannot (for now) fix (mostly due to use of `any`).
1 parent 97d6a26 commit 7d62af7

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

.eslintrc.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
},
66
"extends": [
77
"eslint:recommended",
8-
"plugin:@typescript-eslint/recommended"
8+
"plugin:@typescript-eslint/recommended",
9+
"plugin:@typescript-eslint/recommended-requiring-type-checking"
910
],
1011
"overrides": [],
1112
"parser": "@typescript-eslint/parser",
@@ -43,23 +44,23 @@
4344
"argsIgnorePattern": "^_"
4445
}
4546
],
46-
"@typescript-eslint/require-await": [
47-
"error"
47+
"@typescript-eslint/no-unsafe-argument": [
48+
"off"
4849
],
49-
"@typescript-eslint/no-misused-promises": [
50-
"error"
50+
"@typescript-eslint/no-unsafe-assignment": [
51+
"off"
5152
],
52-
"@typescript-eslint/no-floating-promises": [
53-
"error"
53+
"@typescript-eslint/no-unsafe-call": [
54+
"off"
5455
],
55-
"@typescript-eslint/await-thenable": [
56-
"error"
56+
"@typescript-eslint/no-unsafe-member-access": [
57+
"off"
5758
],
58-
"@typescript-eslint/unbound-method": [
59-
"error"
59+
"@typescript-eslint/no-unsafe-return": [
60+
"off"
6061
],
61-
"@typescript-eslint/restrict-plus-operands": [
62-
"error"
62+
"@typescript-eslint/restrict-template-expressions": [
63+
"off"
6364
],
6465
"header/header": [
6566
2,

0 commit comments

Comments
 (0)