use-chrome-storage
use-chrome-storage copied to clipboard
build(deps-dev): bump eslint-plugin-react-hooks from 4.6.2 to 5.0.0
trafficstars
Bumps eslint-plugin-react-hooks from 4.6.2 to 5.0.0.
Release notes
Sourced from eslint-plugin-react-hooks's releases.
[email protected] (Oct 11, 2024)
This release only contains
eslint-plugin-react-hooks. Notably, new violations and support for ESLint v9 were added.
eslint-plugin-react-hooks
- 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
- Add support for ESLint v9. (
@eps1lonin #28773)- Consider dispatch from
useActionStatestable. (@eps1lonin #29665)- Accept
asexpression in callback. (@StyleShitin #28202)- Accept
asexpressions in deps array. (@StyleShitin #28189)- Treat
React.use()the same asuse(). (@kassensin #27769)- Move
use()lint to non-experimental. (@kassensin #27768)- Support Flow
asexpressions. (@cpojerin #27590)- Allow
useEffect(fn, undefined). (@kassensin #27525)- Disallow hooks in async functions. (
@acdlitein #27045)- Rename experimental
useEventtouseEffectEvent. (@sebmarkbagein #25881)- Lint for presence of
useEventfunctions in dependency lists. (@potetoin #25512)- Check
useEventreferences instead. (@potetoin #25319)- Update
RulesOfHookswithuseEventrules. (@potetoin #25285)
Changelog
Sourced from eslint-plugin-react-hooks's changelog.
5.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. (@eps1lonin #29665)- Add support for ESLint v9. (
@eps1lonin #28773)- Accept
asexpression in callback. (@StyleShitin #28202)- Accept
asexpressions in deps array. (@StyleShitin #28189)- Treat
React.use()the same asuse(). (@kassensin #27769)- Move
use()lint to non-experimental. (@kassensin #27768)- Support Flow
asexpressions. (@cpojerin #27590)- Allow
useEffect(fn, undefined). (@kassensin #27525)- Disallow hooks in async functions. (
@acdlitein #27045)- Rename experimental
useEventtouseEffectEvent. (@sebmarkbagein #25881)- Lint for presence of
useEventfunctions in dependency lists. (@potetoin #25512)- Check
useEventreferences instead. (@potetoin #25319)- Update
RulesOfHookswithuseEventrules. (@potetoin #25285)4.6.0
4.5.0
4.4.0
- No changes, this was an automated release together with React 18.
4.3.0
- Support ESLint 8. (
@MichaelDeBoeyin #22248)- Fix a crash with an empty effect. (
@ChrisRuin #20385)- Improve the error message. (
@callmetwanin #20692)- Handle optional chained methods as dependency. (
@AriPerkkioin #20247)- Assume the new
useTransitionsignature in the rule. (@rickhanloniiin #20976)4.2.0
- No changes, this was an automated release together with React 17.
4.1.2
4.1.1
- Improve support for optional chaining. (
@pfongkyein #19680)- Fix a false positive warning for TypeScript parameters. (
@NeoRaiderin #19751)4.1.0
- New Violations: Warn when dependencies change on every render. (
@captbaritonein #19590)
... (truncated)
Commits
- See full diff in compare view
Maintainer changes
This version was pushed to npm by eps1lon, a new releaser for eslint-plugin-react-hooks since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)