1.1.21 • Published 5 months ago
prettier-remove-unused-imports v1.1.21
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-imports
Setup
Add the plugin to your Prettier configuration:
const unusedImportPlugin = require('prettier-remove-unused-imports');
module.exports = {
plugins: [unusedImportPlugin],
};