Skip to content

Commit 1d44f6c

Browse files
Disable rules that can't be fixed right now
1 parent bc5411a commit 1d44f6c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

extensions/ql-vscode/eslint.config.mjs

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,21 @@ export default tseslint.config(
6666
"import/no-cycle": "error",
6767
// Never allow extensions in import paths, except for JSON files where they are required.
6868
"import/extensions": ["error", "never", { json: "always" }],
69+
70+
// Rules disabled during eslint 9 migration
71+
"github/filenames-match-regex": "off",
72+
"@typescript-eslint/restrict-template-expressions": "off",
73+
"@typescript-eslint/no-unsafe-return": "off",
74+
"@typescript-eslint/no-unsafe-assignment": "off",
75+
"@typescript-eslint/no-unsafe-argument": "off",
76+
"@typescript-eslint/no-unsafe-member-access": "off",
77+
"@typescript-eslint/no-unsafe-call": "off",
78+
"@typescript-eslint/restrict-plus-operands": "off",
79+
"@typescript-eslint/unbound-method": "off",
80+
"@typescript-eslint/require-await": "off",
81+
"@typescript-eslint/no-misused-promises": "off",
82+
"@typescript-eslint/no-base-to-string": "off",
83+
"@typescript-eslint/no-array-delete": "off",
6984
},
7085
settings: {
7186
"import/parsers": {
@@ -157,6 +172,12 @@ export default tseslint.config(
157172
},
158173
rules: {
159174
"@typescript-eslint/no-explicit-any": "off",
175+
176+
// Rules disabled during eslint 9 migration
177+
"@typescript-eslint/no-unsafe-assignment": "off",
178+
"@typescript-eslint/no-unsafe-member-access": "off",
179+
"@typescript-eslint/no-unsafe-call": "off",
180+
"@typescript-eslint/unbound-method": "off",
160181
},
161182
},
162183
{
@@ -170,6 +191,11 @@ export default tseslint.config(
170191
// Storybook doesn't use the automatic JSX runtime in the addon yet, so we need to allow
171192
// `React` to be imported.
172193
"import/no-namespace": ["error", { ignore: ["react"] }],
194+
195+
// Rules disabled during eslint 9 migration
196+
"@typescript-eslint/no-unsafe-argument": "off",
197+
"storybook/no-renderer-packages": "off",
198+
"storybook/story-exports": "off",
173199
},
174200
},
175201
eslintPrettierRecommended,

0 commit comments

Comments
 (0)