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

Merged
bizcochito merged 1 commits from renovate/eslint-plugin-react-hooks-5.x into main 2024-12-01 13:17:45 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
eslint-plugin-react-hooks (source) devDependencies major ^4.6.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: 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.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**: 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:eyJjcmVhdGVkSW5WZXIiOiIzOS40MC4xIiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
bizcochito added 1 commit 2024-11-29 22:03:28 +00:00
renovate/artifacts Artifact file update failure
267065c0e1
Update dependency eslint-plugin-react-hooks to v5
bizcochito force-pushed renovate/eslint-plugin-react-hooks-5.x from 267065c0e1 to 19d7253119 2024-12-01 12:33:05 +00:00 Compare
bizcochito force-pushed renovate/eslint-plugin-react-hooks-5.x from 19d7253119 to e65d93a8af 2024-12-01 13:03:46 +00:00 Compare
bizcochito merged commit 71bd36c495 into main 2024-12-01 13:17:45 +00:00
bizcochito deleted branch renovate/eslint-plugin-react-hooks-5.x 2024-12-01 13:17:46 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
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: fedi-image-bot/bot-image-moderation-fe#13
No description provided.