3.1.0
New Feature: Skip Destructive Code Actions
If you don't want destructive code actions (like removing unused imports), you can enable the option organizeImportsSkipDestructiveCodeActions
via your Prettier config.
// prettierrc.js
module.exports = {
// ...
organizeImportsSkipDestructiveCodeActions: true,
};