import-js/eslint-plugin-import
View on GitHub[import/no-duplicates] supports named imports & namespace imports for type-only imports
Open
#2,750 opened on Mar 28, 2023
help wantedtypescript
Repository metrics
- Stars
- (4,946 stars)
- PR merge metrics
- (Avg merge 138d 22h) (3 merged PRs in 30d)
Description
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