You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. implement custom rule to disallow usage of inline type import/export
After investigation of "consistent-type-exports" rule, it wont prevent usage of inline type exports ecport {type A} from '...' -> ts-eslint team doesn't support old TS versions typescript-eslint/typescript-eslint#7524.
We have 2 options:
- bump v9 minbar to 4.5
- write custom rule that will dissallow any inline type imports/exports
❌ incorrect code
import { type A } from './foo';
export { type B} from './moo';
✅ correct code
import type { A } from './foo'
export type { B } from './moo';
1. introduce type import/export lint rules for v9
2. implement custom rule to disallow usage of inline type import/export
After investigation of "consistent-type-exports" rule, it wont prevent usage of inline type exports
ecport {type A} from '...'
-> ts-eslint team doesn't support old TS versions typescript-eslint/typescript-eslint#7524.We have 2 options:
- bump v9 minbar to 4.5
- write custom rule that will dissallow any inline type imports/exports
❌ incorrect code
✅ correct code
Related issues:
The text was updated successfully, but these errors were encountered: