Skip to content

build(deps-dev): bump eslint-plugin-unused-imports from 3.0.0 to 4.4.1#1303

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/eslint-plugin-unused-imports-4.4.1
Open

build(deps-dev): bump eslint-plugin-unused-imports from 3.0.0 to 4.4.1#1303
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/eslint-plugin-unused-imports-4.4.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Bumps eslint-plugin-unused-imports from 3.0.0 to 4.4.1.

Release notes

Sourced from eslint-plugin-unused-imports's releases.

v4.4.1

No significant changes

    View changes on GitHub
Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for eslint-plugin-unused-imports since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [eslint-plugin-unused-imports](https://github.com/sweepline/eslint-plugin-unused-imports) from 3.0.0 to 4.4.1.
- [Release notes](https://github.com/sweepline/eslint-plugin-unused-imports/releases)
- [Commits](https://github.com/sweepline/eslint-plugin-unused-imports/commits/v4.4.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-unused-imports
  dependency-version: 4.4.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 4, 2026
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 4, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown

@codacy-production codacy-production Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades eslint-plugin-unused-imports from v3 to v4.4.1. While Codacy results are up to standards, this major version jump involves a significant architecture change: the removal of eslint-rule-composer. Consequently, the unused-imports/no-unused-vars rule no longer inherits settings from the base ESLint no-unused-vars rule. You must verify if custom linting configurations (e.g., ignore patterns) need to be manually duplicated to avoid inconsistencies. Additionally, the PR description lacks the v4.0.0 changelog, which is the source of these breaking changes.

About this PR

  • This is a major version upgrade (v3.x to v4.x). The current PR description omits the breaking changes introduced in the v4.0.0 release. It is critical to ensure that peer dependencies (ESLint and TypeScript-ESLint) and the removal of eslint-rule-composer in the lockfile align with the project's requirements.

Test suggestions

  • Execute the project's linting suite to verify that the upgrade does not introduce breaking changes or configuration errors.
  • Confirm that the unused-imports/no-unused-imports rule correctly identifies and cleans up unused imports in TypeScript files.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Execute the project's linting suite to verify that the upgrade does not introduce breaking changes or configuration errors.
2. Confirm that the `unused-imports/no-unused-imports` rule correctly identifies and cleans up unused imports in TypeScript files.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

Comment thread package.json
"@types/simple-mock": "^0.8.6",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"eslint-plugin-unused-imports": "^4.4.1",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 MEDIUM RISK

This major version bump (v3 to v4) introduces a rewrite that stops the unused-imports/no-unused-vars rule from automatically inheriting settings from the base ESLint no-unused-vars rule. You must manually sync any custom configurations to the new rule. Try running the following prompt in your coding agent: > Update the ESLint configuration to explicitly define options for unused-imports/no-unused-vars, mirroring any existing settings in the base no-unused-vars rule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants