sweepline/eslint-plugin-unused-imports

Imports are being duplicated

Closed this issue · 2 comments

Optimizing imports creates duplicate.
I've removed all the other plugins, and I quite can't figure out what causes the issue.
Attached are before and after examples with my eslint config.
Any ideas?
image

Features:

├── @typescript-eslint/eslint-plugin@7.8.0
├── @typescript-eslint/parser@7.8.0
├── eslint-plugin-prettier@5.1.3
├── eslint-plugin-react-hooks@4.6.2
├── eslint-plugin-react@7.34.1
├── eslint-plugin-unused-imports@3.2.0
├── eslint@8.57.0

ZoneFilledPolygon.before.ts.txt
ZoneFilledPolygon.after.ts.txt
eslintrc.generator.json.txt

I cannot reproduce this with the files you have provided.