Consider enabling @typescript-eslint/no-import-type-side-effects
Currently `@typescript-eslint/consistent-type-imports` auto fixes all `type` imports to be inline.
If an import only includes type imports this will result in an empty module import.
https://typescript-eslint.io/rules/no-import-type-side-effects
This rule seems to be complimentary to `consistent-type-imports` and doesn't conflict but adds extra safety when the `verbatimModuleSyntax` ts config flag is turned on.
3 条评论