Update dependency eslint-plugin-react-hooks to v5 #321

Merged
renovate merged 1 commit from renovate/eslint-plugin-react-hooks-5.x into master 2024-10-11 16:05:34 +02:00
Collaborator

This PR contains the following updates:

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

Release Notes

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

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: Enabled.

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.2.0` -> `^5.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-react-hooks/4.6.2/5.0.0) | --- ### Release Notes <details> <summary>facebook/react (eslint-plugin-react-hooks)</summary> ### [`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**: Enabled. ♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMTkuMCIsInVwZGF0ZWRJblZlciI6IjM4LjExOS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
renovate added 1 commit 2024-10-11 16:02:24 +02:00
Update dependency eslint-plugin-react-hooks to v5
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
f1594cc72a
renovate scheduled this pull request to auto merge when all checks succeed 2024-10-11 16:02:24 +02:00
renovate merged commit f1594cc72a into master 2024-10-11 16:05:34 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: yolokube/dashboard#321
No description provided.