Removing unused imports

A rather annoying and controversial thing that was built into version 7.3.2. As far as I can see, this is disabled by default in the latest version. Maybe someone will tell you what was responsible for enabling it in older versions? Probably something connected with "prettier-plugin-organize-imports", but i'm not sure thinkies
2 Replies
Matvey
Matvey2y ago
with prettier-plugin-organize-imports you can set organizeImportsSkipDestructiveCodeActions: true in your prettier config to stop it removing unused imports
MadaShindeInai
MadaShindeInaiOP2y ago
Saw that in some issue. Tried, but it did not solve an issue. Will try one more tme
Want results from more Discord servers?
Add your server