This rule extends the base eslint/no-duplicate-imports
rule.
This version adds support for type-only import and export.
{
// note you must disable the base rule as it can report incorrect errors
"no-duplicate-imports": "off",
"@typescript-eslint/no-duplicate-imports": ["error"]
}
See eslint/no-duplicate-imports
options.
Taken with ❤️ from ESLint core