chore(deps): update dependency eslint-plugin-react-hooks to v5 #9

Merged
jleibl merged 1 commits from renovate/eslint-plugin-react-hooks-5.x into main 2025-05-28 05:33:35 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
eslint-plugin-react-hooks (source) devDependencies major ^4.6.2 -> ^5.0.0

Release Notes

facebook/react (eslint-plugin-react-hooks)

v5.2.0

Compare Source

v5.1.0

Compare Source

v5.0.0

Compare Source

  • New Violations: Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means _Button or _component are no longer valid. (@​kassens) in #​25162

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [eslint-plugin-react-hooks](https://react.dev/) ([source](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks)) | devDependencies | major | [`^4.6.2` -> `^5.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-react-hooks/4.6.2/5.2.0) | --- ### Release Notes <details> <summary>facebook/react (eslint-plugin-react-hooks)</summary> ### [`v5.2.0`](https://github.com/facebook/react/blob/HEAD/packages/eslint-plugin-react-hooks/CHANGELOG.md#520) [Compare Source](https://github.com/facebook/react/compare/63cde684f5340b1ca73f6244501aac1c3d2c92a8...3607f4838a8f4a87160da36aa26bb1432d7a5f11) - Support flat config ([@&#8203;michaelfaith](https://github.com/michaelfaith) in [#&#8203;30774](https://github.com/facebook/react/pull/30774)) - Convert the plugin to TypeScript and provide package type declarations ([@&#8203;michaelfaith](https://github.com/michaelfaith) in [#&#8203;32279](https://github.com/facebook/react/pull/32279), [#&#8203;32283](https://github.com/facebook/react/pull/32283), [#&#8203;32240](https://github.com/facebook/react/pull/32240), [#&#8203;32400](https://github.com/facebook/react/pull/32400) and [@&#8203;poteto](https://github.com/poteto) in [#&#8203;32420](https://github.com/facebook/react/pull/32420)) - Fix false positive error in components with `do`/`while` loops ([@&#8203;tyxla](https://github.com/tyxla) in [#&#8203;31720](https://github.com/facebook/react/pull/31720)) - Detect issues in class properties ([@&#8203;mjesun](https://github.com/mjesun) & [@&#8203;ecraig12345](https://github.com/ecraig12345) in [#&#8203;31823](https://github.com/facebook/react/pull/31823)) ### [`v5.1.0`](https://github.com/facebook/react/blob/HEAD/packages/eslint-plugin-react-hooks/CHANGELOG.md#510) [Compare Source](https://github.com/facebook/react/compare/eslint-plugin-react-hooks@5.0.0...63cde684f5340b1ca73f6244501aac1c3d2c92a8) - Add support for `do`/`while` loops ([@&#8203;tyxla](https://github.com/tyxla) in [#&#8203;28714](https://github.com/facebook/react/pull/28714)) - Fix error when callback argument is an identifier with an `as` expression ([@&#8203;mskelton](https://github.com/mskelton) in [#&#8203;31119](https://github.com/facebook/react/pull/31119)) ### [`v5.0.0`](https://github.com/facebook/react/blob/HEAD/packages/eslint-plugin-react-hooks/CHANGELOG.md#500) [Compare Source](https://github.com/facebook/react/compare/a87edf62d7d69705ddbcec9a24f0780b3db7535f...eslint-plugin-react-hooks@5.0.0) - **New Violations:** Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means `_Button` or `_component` are no longer valid. ([@&#8203;kassens](https://github.com/kassens)) in [#&#8203;25162](https://github.com/facebook/react/pull/25162) <!----> - Consider dispatch from `useActionState` stable. ([@&#8203;eps1lon](https://github.com/eps1lon) in [#&#8203;29665](https://github.com/facebook/react/pull/29665)) - Add support for ESLint v9. ([@&#8203;eps1lon](https://github.com/eps1lon) in [#&#8203;28773](https://github.com/facebook/react/pull/28773)) - Accept `as` expression in callback. ([@&#8203;StyleShit](https://github.com/StyleShit) in [#&#8203;28202](https://github.com/facebook/react/pull/28202)) - Accept `as` expressions in deps array. ([@&#8203;StyleShit](https://github.com/StyleShit) in [#&#8203;28189](https://github.com/facebook/react/pull/28189)) - Treat `React.use()` the same as `use()`. ([@&#8203;kassens](https://github.com/kassens) in [#&#8203;27769](https://github.com/facebook/react/pull/27769)) - Move `use()` lint to non-experimental. ([@&#8203;kassens](https://github.com/kassens) in [#&#8203;27768](https://github.com/facebook/react/pull/27768)) - Support Flow `as` expressions. ([@&#8203;cpojer](https://github.com/cpojer) in [#&#8203;27590](https://github.com/facebook/react/pull/27590)) - Allow `useEffect(fn, undefined)`. ([@&#8203;kassens](https://github.com/kassens) in [#&#8203;27525](https://github.com/facebook/react/pull/27525)) - Disallow hooks in async functions. ([@&#8203;acdlite](https://github.com/acdlite) in [#&#8203;27045](https://github.com/facebook/react/pull/27045)) - Rename experimental `useEvent` to `useEffectEvent`. ([@&#8203;sebmarkbage](https://github.com/sebmarkbage) in [#&#8203;25881](https://github.com/facebook/react/pull/25881)) - Lint for presence of `useEvent` functions in dependency lists. ([@&#8203;poteto](https://github.com/poteto) in [#&#8203;25512](https://github.com/facebook/react/pull/25512)) - Check `useEvent` references instead. ([@&#8203;poteto](https://github.com/poteto) in [#&#8203;25319](https://github.com/facebook/react/pull/25319)) - Update `RulesOfHooks` with `useEvent` rules. ([@&#8203;poteto](https://github.com/poteto) in [#&#8203;25285](https://github.com/facebook/react/pull/25285)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMi43IiwidXBkYXRlZEluVmVyIjoiNDAuMzIuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Renovate added 1 commit 2025-05-28 00:01:45 +00:00
chore(deps): update dependency eslint-plugin-react-hooks to v5
All checks were successful
CI/CD Pipeline / Quick Checks (pull_request) Successful in 1m8s
CI/CD Pipeline / ESLint (pull_request) Successful in 11s
CI/CD Pipeline / Test & Coverage (pull_request) Successful in 13s
CI/CD Pipeline / Build Application (pull_request) Successful in 28s
89e031c534
jleibl force-pushed renovate/eslint-plugin-react-hooks-5.x from 89e031c534 to 2ab7e221e2 2025-05-28 05:31:46 +00:00 Compare
jleibl merged commit 3e76bb6d33 into main 2025-05-28 05:33:35 +00:00
jleibl deleted branch renovate/eslint-plugin-react-hooks-5.x 2025-05-28 05:33:35 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Templates/Next-Template-App-Router#9
No description provided.