Support removing unused imports
piotrpalek opened this issue · comments
As mentioned in the title, would it be possible to remove unused imports? That would make the plugin complete for me :)
Hi! No, that is out of scope of this plugin. While it would be nice to have an all-in-one fix-all-the-things-with-imports rule, it is a lot of work to figure out what is used and I don’t want to maintain that.
You can use other ESLint rules or TypeScript to find unused imports, though.
VSCode (and many other editors) have a very handy “Organize imports” feature that can fix it for you.