Skip to content

Commit 01b478e

Browse files
committed
eslint: Enable consistent-type-imports
Autofix complaints about type-only imports from TypeScript. https://typescript-eslint.io/rules/consistent-type-imports/
1 parent 1ed8fcd commit 01b478e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"assertionStyle": "as"
2121
}
2222
],
23+
"@typescript-eslint/consistent-type-imports": "error",
2324
"@typescript-eslint/naming-convention": "warn",
2425
"@typescript-eslint/no-explicit-any": "off",
2526
"@typescript-eslint/no-inferrable-types": "off",

0 commit comments

Comments
 (0)