1.0.5 • Published 4 years ago
@jonny/prettier-plugin-organize-imports v1.0.5
Prettier Plugin: Organize Imports
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.
Installation
npm install --save-dev prettier-plugin-organize-imports
prettier
and typescript
are peer dependencies, so make sure you have those installed in your project.
Usage
The plugin will be loaded by Prettier automatically. No configuration needed.
License
MIT.