eslint-plugin-import-x
eslint-plugin-import-x copied to clipboard
`import-x/export`: False-positive with type export
foo.ts
export const foo = 1;
bar.ts
export type * from "./foo.ts"; // Error: Multiple exports of name 'foo'
export {foo} from "./foo.ts"; // Error: Multiple exports of name 'foo'
It seems the rule is unaware of type exports being distinct from value exports. The export type * does not include foo which is not a type, so the export is not duplicate.