A plugin that makes Prettier organize your imports (i. e. sort and remove unused imports) using the organizeImports
feature of the TypeScript language service API. This is the same as using the "Organize Imports" action in VS Code.
npm install --save-dev prettier-plugin-organize-imports
prettier
and typescript
are peer dependencies, so make sure you have those installed in your project.
The plugin will be loaded by Prettier automatically. No configuration needed.
MIT.