prettier-remove-unused-imports
v1.1.21
Published
A Prettier plugin to remove unused imports from your code.
Maintainers
Readme
prettier-remove-unused-imports
A Prettier plugin to remove unused imports from your code.
Installation
You can install the plugin using Yarn:
yarn add --dev prettier-remove-unused-importsSetup
Add the plugin to your Prettier configuration:
const unusedImportPlugin = require('prettier-remove-unused-imports');
module.exports = {
plugins: [unusedImportPlugin],
};