Clean up unused imports #3341
Closed
nelsonsbrian
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
If you're aware of the rule, which you can set up in your IDE, then I don't understand what you're requesting. |
Beta Was this translation helpful? Give feedback.
1 reply
-
You could apply safe fixes on save? This could automatically remove your unused imports, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am requesting the feature of automatically removing unused imports from files. Not just empty/useless imports
When I'm coding, I have auto import that works great, now just need deletions of code blocks to be cleaned up. The efficiency lose is too great having to go back up to the top of the file to remove code.
I'm aware of the linter action https://biomejs.dev/linter/rules/no-unused-imports/
ESLint has this feature as a plugin with millions of downloads. https://www.npmjs.com/package/eslint-plugin-unused-imports
Just being blunt, me using biome as a daily driver for work or personal use, the lack of feature here is a dealbreaker.
Beta Was this translation helpful? Give feedback.
All reactions