facebook/react (eslint-plugin-react-hooks)
### [`v5.0.0`](https://redirect.github.com/facebook/react/blob/HEAD/packages/eslint-plugin-react-hooks/CHANGELOG.md#500)
[Compare Source](https://redirect.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. ([@kassens](https://redirect.github.com/kassens)) in [#25162](https://redirect.github.com/facebook/react/pull/25162)
- Consider dispatch from `useActionState` stable. ([@eps1lon](https://redirect.github.com/eps1lon) in [#29665](https://redirect.github.com/facebook/react/pull/29665))
- Add support for ESLint v9. ([@eps1lon](https://redirect.github.com/eps1lon) in [#28773](https://redirect.github.com/facebook/react/pull/28773))
- Accept `as` expression in callback. ([@StyleShit](https://redirect.github.com/StyleShit) in [#28202](https://redirect.github.com/facebook/react/pull/28202))
- Accept `as` expressions in deps array. ([@StyleShit](https://redirect.github.com/StyleShit) in [#28189](https://redirect.github.com/facebook/react/pull/28189))
- Treat `React.use()` the same as `use()`. ([@kassens](https://redirect.github.com/kassens) in [#27769](https://redirect.github.com/facebook/react/pull/27769))
- Move `use()` lint to non-experimental. ([@kassens](https://redirect.github.com/kassens) in [#27768](https://redirect.github.com/facebook/react/pull/27768))
- Support Flow `as` expressions. ([@cpojer](https://redirect.github.com/cpojer) in [#27590](https://redirect.github.com/facebook/react/pull/27590))
- Allow `useEffect(fn, undefined)`. ([@kassens](https://redirect.github.com/kassens) in [#27525](https://redirect.github.com/facebook/react/pull/27525))
- Disallow hooks in async functions. ([@acdlite](https://redirect.github.com/acdlite) in [#27045](https://redirect.github.com/facebook/react/pull/27045))
- Rename experimental `useEvent` to `useEffectEvent`. ([@sebmarkbage](https://redirect.github.com/sebmarkbage) in [#25881](https://redirect.github.com/facebook/react/pull/25881))
- Lint for presence of `useEvent` functions in dependency lists. ([@poteto](https://redirect.github.com/poteto) in [#25512](https://redirect.github.com/facebook/react/pull/25512))
- Check `useEvent` references instead. ([@poteto](https://redirect.github.com/poteto) in [#25319](https://redirect.github.com/facebook/react/pull/25319))
- Update `RulesOfHooks` with `useEvent` rules. ([@poteto](https://redirect.github.com/poteto) in [#25285](https://redirect.github.com/facebook/react/pull/25285))
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 contains the following updates:
4.6.2
->5.0.0
Release Notes
facebook/react (eslint-plugin-react-hooks)
### [`v5.0.0`](https://redirect.github.com/facebook/react/blob/HEAD/packages/eslint-plugin-react-hooks/CHANGELOG.md#500) [Compare Source](https://redirect.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. ([@kassens](https://redirect.github.com/kassens)) in [#25162](https://redirect.github.com/facebook/react/pull/25162) - Consider dispatch from `useActionState` stable. ([@eps1lon](https://redirect.github.com/eps1lon) in [#29665](https://redirect.github.com/facebook/react/pull/29665)) - Add support for ESLint v9. ([@eps1lon](https://redirect.github.com/eps1lon) in [#28773](https://redirect.github.com/facebook/react/pull/28773)) - Accept `as` expression in callback. ([@StyleShit](https://redirect.github.com/StyleShit) in [#28202](https://redirect.github.com/facebook/react/pull/28202)) - Accept `as` expressions in deps array. ([@StyleShit](https://redirect.github.com/StyleShit) in [#28189](https://redirect.github.com/facebook/react/pull/28189)) - Treat `React.use()` the same as `use()`. ([@kassens](https://redirect.github.com/kassens) in [#27769](https://redirect.github.com/facebook/react/pull/27769)) - Move `use()` lint to non-experimental. ([@kassens](https://redirect.github.com/kassens) in [#27768](https://redirect.github.com/facebook/react/pull/27768)) - Support Flow `as` expressions. ([@cpojer](https://redirect.github.com/cpojer) in [#27590](https://redirect.github.com/facebook/react/pull/27590)) - Allow `useEffect(fn, undefined)`. ([@kassens](https://redirect.github.com/kassens) in [#27525](https://redirect.github.com/facebook/react/pull/27525)) - Disallow hooks in async functions. ([@acdlite](https://redirect.github.com/acdlite) in [#27045](https://redirect.github.com/facebook/react/pull/27045)) - Rename experimental `useEvent` to `useEffectEvent`. ([@sebmarkbage](https://redirect.github.com/sebmarkbage) in [#25881](https://redirect.github.com/facebook/react/pull/25881)) - Lint for presence of `useEvent` functions in dependency lists. ([@poteto](https://redirect.github.com/poteto) in [#25512](https://redirect.github.com/facebook/react/pull/25512)) - Check `useEvent` references instead. ([@poteto](https://redirect.github.com/poteto) in [#25319](https://redirect.github.com/facebook/react/pull/25319)) - Update `RulesOfHooks` with `useEvent` rules. ([@poteto](https://redirect.github.com/poteto) in [#25285](https://redirect.github.com/facebook/react/pull/25285))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.
This PR was generated by Mend Renovate. View the repository job log.