Skip to content

build(deps-dev): bump eslint-plugin-react-hooks from 6.1.1 to 7.0.1 in /web#3117

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/web/eslint-plugin-react-hooks-7.0.1
Closed

build(deps-dev): bump eslint-plugin-react-hooks from 6.1.1 to 7.0.1 in /web#3117
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/web/eslint-plugin-react-hooks-7.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Oct 25, 2025

Bumps eslint-plugin-react-hooks from 6.1.1 to 7.0.1.

Changelog

Sourced from eslint-plugin-react-hooks's changelog.

7.0.1

  • Disallowed passing inline useEffectEvent values as JSX props to guard against accidental propagation. (#34820 by @​jf-eirinha)
  • Switch to export = so eslint-plugin-react-hooks emits correct types for consumers in Node16 ESM projects. (#34949 by @​karlhorky)
  • Tightened the typing of configs.flat so the configs export is always defined. (#34950 by @​poteto)
  • Fix named import runtime errors. (#34951, #34953 by @​karlhorky)

7.0.0

This release slims down presets to just 2 configurations (recommended and recommended-latest), and all compiler rules are enabled by default.

  • Breaking: Removed recommended-latest-legacy and flat/recommended configs. The plugin now provides recommended (legacy and flat configs with all recommended rules), and recommended-latest (legacy and flat configs with all recommended rules plus new bleeding edge experimental compiler rules). (@​poteto in #34757)
Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependabot javascript Pull requests that update javascript code type::chore labels Oct 25, 2025
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/web/eslint-plugin-react-hooks-7.0.1 branch 3 times, most recently from bc11c7c to 9851c5a Compare November 1, 2025 06:06
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/web/eslint-plugin-react-hooks-7.0.1 branch 3 times, most recently from f30a292 to cfc46be Compare November 8, 2025 06:08
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 6.1.1 to 7.0.1.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks)

---
updated-dependencies:
- dependency-name: eslint-plugin-react-hooks
  dependency-version: 7.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@sgalsaleh sgalsaleh force-pushed the dependabot/npm_and_yarn/web/eslint-plugin-react-hooks-7.0.1 branch from cfc46be to e1396f4 Compare March 25, 2026 18:13
@sgalsaleh
Copy link
Copy Markdown
Member

Closing this PR as eslint-plugin-react-hooks 7 introduces stricter linting rules that require code refactoring (files exporting both components and non-components need to be split). These changes don't address any security vulnerabilities. The update can be revisited when there's dedicated time for the refactoring.

@sgalsaleh sgalsaleh closed this Mar 25, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Mar 25, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/web/eslint-plugin-react-hooks-7.0.1 branch March 25, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependabot javascript Pull requests that update javascript code type::chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant