eslint-plugin-import
eslint-plugin-import copied to clipboard
[import/no-duplicates] supports named imports & namespace imports for type-only imports
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