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
February 9, 2026 - 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.
🌐
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
🌐
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
    
Find elsewhere
🌐
GitHub
github.com › sweepline › eslint-plugin-unused-imports
GitHub - 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.
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 ...
Starred by 615 users
Forked by 27 users
Languages   TypeScript 98.2% | JavaScript 1.8% | TypeScript 98.2% | JavaScript 1.8%
🌐
GitHub
github.com › sweepline › eslint-plugin-unused-imports › releases
Releases · 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
🌐
npm
npmjs.com › package › eslint-plugin-import
eslint-plugin-import - npm
You may set the following settings in your .eslintrc: A list of file extensions that will be parsed as modules and inspected for exports. This defaults to ['.js'], unless you are using the react shared config, in which case it is specified as ['.js', '.jsx']. Despite the default, if you are using TypeScript (without the plugin:import/typescript config described above) you must specify the new extensions (.ts, and also .tsx if using React).
      » npm install eslint-plugin-import
    
Published   Jun 20, 2025
Version   2.32.0
Author   Ben Mosher
🌐
ReversingLabs
secure.software › npm › packages › eslint-plugin-unused-imports › 3.0.0
eslint-plugin-unused-imports@3.0.0 - npm | ReversingLabs Spectra Assure Community
The npm package eslint-plugin-unused-imports was scanned for malware, software tampering, risky behaviors, exposed secrets and known vulnerabilities.
🌐
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
unused imports
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