import-js/eslint-plugin-import
Vedi su GitHub[import/no-duplicates] supports named imports & namespace imports for type-only imports
Open
#2750 aperta il 28 mar 2023
help wantedtypescript
Metriche repository
- Star
- (4946 star)
- Metriche merge PR
- (Merge medio 138g 22h) (3 PR mergiate in 30 g)
Descrizione
version: 2.26.0
Example:
It seems that the following import statements can't be combined into one
import type { Foo } from 'pathToModule';
import type * as AllTypes from 'pathToModule';
Expected: supports the user-case & no import/no-duplicates error