webstorm can fix it. Like standalone import of NgIf, if you dont have it in the template, it gets removed. Answer from drdrero on reddit.com
🌐
npm
npmjs.com › package › eslint-plugin-unused-imports
eslint-plugin-unused-imports - npm
1 month ago - It works by splitting up the no-unused-vars rule depending on it being an import statement in the AST and providing an autofix rule to remove the nodes if they are imports. This plugin composes the rule no-unused-vars of either the typescript ...
      » npm install eslint-plugin-unused-imports
    
Published   Feb 09, 2026
Version   4.4.1
Author   Mikkel Holmer Pedersen
🌐
GitHub
github.com › sweepline › eslint-plugin-unused-imports › blob › master › docs › rules › no-unused-imports.md
eslint-plugin-unused-imports/docs/rules/no-unused-imports.md at master · sweepline/eslint-plugin-unused-imports
Package to separate no-unused-vars and no-unused-imports for eslint as well as providing an autofixer for the latter. - sweepline/eslint-plugin-unused-imports
Author   sweepline
🌐
Snyk
security.snyk.io › snyk vulnerability database › npm
eslint-plugin-unused-imports vulnerabilities | Snyk
We found that eslint-plugin-unused-imports demonstrates a positive version release cadence with at least one new version released in the past 3 months.
🌐
Simon Dosda
simondosda.github.io › posts › 2021-05-10-eslint-imports.html
Automatically Remove Unused Imports From Your JS Projects | Simon Dosda
July 6, 2021 - To automatically remove unused imports, we will need to add the eslint-plugin-unused-imports plugin.
🌐
npm
npmjs.com › package › eslint-plugin-unused-vars-and-imports
eslint-plugin-unused-vars-and-imports - npm
remove unused vars and imports for typescript. Latest version: 1.0.7, last published: 3 years ago. Start using eslint-plugin-unused-vars-and-imports in your project by running `npm i eslint-plugin-unused-vars-and-imports`. There are 2 other projects in the npm registry using eslint-plugin-unused-vars-and-imports.
      » npm install eslint-plugin-unused-vars-and-imports
    
🌐
GitHub
github.com › eslint › eslint › discussions › 18494
Add optional feature to remove unused imports · eslint/eslint · Discussion #18494
Hi, im the maintainer of eslint-plugin-unused-imports. I have started switching projects over to biome because they have a nice optional fixer for removing unused imports. They dont guarantee that ...
Author   eslint
Find elsewhere
🌐
npm Trends
npmtrends.com › eslint-plugin-import-vs-eslint-plugin-simple-import-sort-vs-eslint-plugin-unused-imports
eslint-plugin-import vs eslint-plugin-simple-import-sort vs eslint-plugin-unused-imports | npm trends
Comparing trends for eslint-plugin-import 2.32.0 which has 31,810,749 weekly downloads and 5,867 GitHub stars vs. eslint-plugin-simple-import-sort 12.1.1 which has 3,317,349 weekly downloads and 2,402 GitHub stars vs. eslint-plugin-unused-imports 4.3.0 which has 5,069,522 weekly downloads and 606 GitHub stars.
🌐
Next.js
nextjs.org › docs › app › api-reference › config › eslint
Configuration: ESLint | Next.js
2 weeks ago - Learn how to use and configure the ESLint plugin to catch common issues and problems in a Next.js application.
🌐
GitLab
caoslab.psy.cmu.edu:32443 › developers › jsexperimentslayout › repository
client/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md · homepage_full · developers / JSExperimentsLayout · GitLab
eslint-plugin-import · docs · rules · no-unused-modules.md · Find file Blame History Permalink · Replacing all client folder · 292f941b · Chloe Wen authored Jul 14, 2020 ·
🌐
UNPKG
app.unpkg.com › eslint-plugin-unused-imports@4.3.0
eslint-plugin-unused-imports
Report and remove unused es6 modules · github.com/sweepline/eslint-plugin-unused-imports
🌐
npms
npms.io › search
npms
npms was built to empower the javascript community by providing a better and open sourced search for node modules.
🌐
GitHub
github.com › import-js › eslint-plugin-import › blob › main › docs › rules › no-unused-modules.md
eslint-plugin-import/docs/rules/no-unused-modules.md at main · import-js/eslint-plugin-import
ignoreExports: an array with files/paths for which unused exports will not be reported (e.g module entry points in a published package) const class MyClass { /*...*/ } function makeClass() { return new MyClass(...arguments) } ... import { e } from 'file-a' import { f } from 'file-b' import * as fileC from 'file-c' export { default, i0 } from 'file-d' // both will be reported export const j = 99 // will be reported
Author   import-js
🌐
npm
npmjs.com › package › @antfu › eslint-plugin-unused-imports
@antfu/eslint-plugin-unused-imports - npm
Report and remove unused es6 modules. Latest version: 4.0.0, last published: 2 years ago. Start using @antfu/eslint-plugin-unused-imports in your project by running `npm i @antfu/eslint-plugin-unused-imports`. There are no other projects in the npm registry using @antfu/eslint-plugin-unused-imports.
      » npm install @antfu/eslint-plugin-unused-imports
    
Published   Jul 17, 2024
Version   4.0.0
Author   Mikkel Holmer Pedersen
🌐
Npm
npm.io › package › eslint-plugin-unused-imports
Eslint-plugin-unused-imports NPM | npm.io
It works by splitting up the no-unused-vars rule depending on it being an import statement in the AST and providing an autofix rule to remove the nodes if they are imports. This plugin composes the rule no-unused-vars of either the typescript or js plugin so be aware that the other plugins ...