react-typescript-starter
react-typescript-starter copied to clipboard
chore(deps): update dependency eslint-plugin-react-hooks to v5
trafficstars
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| eslint-plugin-react-hooks (source) | 4.6.2 -> 5.0.0 |
Release Notes
facebook/react (eslint-plugin-react-hooks)
v5.0.0
- New Violations: Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means
_Buttonor_componentare no longer valid. (@kassens) in #25162
- Consider dispatch from
useActionStatestable. (@eps1lon in #29665) - Add support for ESLint v9. (@eps1lon in #28773)
- Accept
asexpression in callback. (@StyleShit in #28202) - Accept
asexpressions in deps array. (@StyleShit in #28189) - Treat
React.use()the same asuse(). (@kassens in #27769) - Move
use()lint to non-experimental. (@kassens in #27768) - Support Flow
asexpressions. (@cpojer in #27590) - Allow
useEffect(fn, undefined). (@kassens in #27525) - Disallow hooks in async functions. (@acdlite in #27045)
- Rename experimental
useEventtouseEffectEvent. (@sebmarkbage in #25881) - Lint for presence of
useEventfunctions in dependency lists. (@poteto in #25512) - Check
useEventreferences instead. (@poteto in #25319) - Update
RulesOfHookswithuseEventrules. (@poteto in #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 was generated by Mend Renovate. View the repository job log.