We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@typescript-eslint/no-import-type-side-effects
1 parent c56b08e commit b4f69afCopy full SHA for b4f69af
configurations/typescript/rules/typescript.js
@@ -331,6 +331,11 @@ module.exports = {
331
// https://typescript-eslint.io/rules/no-for-in-array
332
'@typescript-eslint/no-for-in-array': 'error',
333
334
+ // Enforce the use of top-level import type qualifier
335
+ // when an import only has specifiers with inline type qualifiers (autofixable).
336
+ // https://typescript-eslint.io/rules/no-import-type-side-effects
337
+ '+@typescript-eslint/no-import-type-side-effects': 'error',
338
+
339
// Disallow the use of `eval()`-like methods
340
// https://typescript-eslint.io/rules/no-implied-eval
341
...extendFromBase('no-implied-eval'),
0 commit comments