Bump eslint-plugin-react-hooks from 4.6.2 to 5.2.0
Closed
Number: #3572
Type: Pull Request
State: Closed
Type: Pull Request
State: Closed
Author:
dependabot[bot]
Association: Contributor
Comments: 0
Association: Contributor
Comments: 0
Created:
March 03, 2025 at 07:00 AM UTC
(9 months ago)
(9 months ago)
Updated:
June 09, 2025 at 03:10 AM UTC
(5 months ago)
(5 months ago)
Closed:
June 09, 2025 at 03:10 AM UTC
(5 months ago)
(5 months ago)
Time to Close:
3 months
Labels:
dependencies stale javascript
dependencies stale javascript
Description:
Bumps eslint-plugin-react-hooks from 4.6.2 to 5.2.0.
Release notes
Sourced from eslint-plugin-react-hooks's releases.
eslint-plugin-react-hooks@5.0.0 (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 For example, infunction _Component() { useState() ^^^^^^^^ A React Hook "useState" is called in function "_Component" which is neither a Component nor a custom React Hook function. }_Componentshould be renamed toComponent.
- 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.
15.2.0 (July 1, 2016)
React
- Add error codes to production invariants, with links to the view the full error text. (
@keyanzhangin #6948)- Include component stack information in PropType validation warnings. (
@troydemonbreunin #6398,@sophiebitsin #6771)- Include component stack information in key warnings. (
@keyanzhangin #6799)- Stop validating props at mount time, only validate at element creation. (
@keyanzhangin #6824)- New invariant providing actionable error in missing instance case. (
@yungstersin #6990)- Add
React.PropTypes.symbolto support ES2015 Symbols as props. (@puradoxin #6377)- Fix incorrect coercion of ref or key that are undefined in development (
@gaearonin #6880)- Fix a false positive when passing other element’s props to cloneElement (
@ericmatthysin #6268)- Warn if you attempt to define
childContextTypeson a functional component (@Awearyin #6933)React DOM
- Add warning for unknown properties on DOM elements. (
@jimfbin #6800,@gm758in #7152)- Properly remove attributes from custom elements. (
@grassatorin #6748)- Fix invalid unicode escape in attribute name regular expression. (
@nbjahanin #6772)- Add
onLoadhandling to<link>element. (@roderickhsiaoin #6815)- Add
onErrorhandling to<source>element. (@wadahiroin #6941)- Handle
valueanddefaultValuemore accurately in the DOM. (@jimfbin #6406)- Fix events issue in environments with mutated
Object.prototype. (@Weizenlolin #6886)- Fix issue where
is="null"ended up in the DOM in Firefox. (@darobinin #6896)- Improved performance of text escaping by using escape-html. (
@aickinin #6862)- Fix issue with
dangerouslySetInnerHTMLand SVG in Internet Explorer. (@joshhuntin #6982)- Fix issue with
<textarea>placeholders. (@jimfbin #7002)- Fix controlled vs uncontrolled detection of
<input type="radio"/>. (@jimfbin #7003)- Improve performance of updating text content. (
@trueadmin #7005)- Ensure controlled
<select>components behave the same on initial render as they do on updates. (@yiminghein #5362)React Perf Add-on
- Add
isRunning()API. (@nfcamposin #6763)- Improve accuracy of lifecycle hook timing. (
@gaearonin #6858)- Fix internal errors when using ReactPerf with portal components. (
@gaearonin #6860)- Fix performance regression. (
@sophiebitsin #6770)- Add warning that ReactPerf is not enabled in production. (
@sashashakunin #6884)React CSSTransitionGroup Add-on
- Fix timing issue with
nullnode. (@keyanzhangin #6958)React Native Renderer
- Dependencies on React Native modules use CommonJS requires instead of providesModule. (
@davidaurelioin #6715)15.1.0 (May 20, 2016)
React
- Ensure we're using the latest
object-assign, which has protection against a non-spec-compliant nativeObject.assign. (@zpaoin #6681)- Add a new warning to communicate that
propsobjects passed tocreateElementmust be plain objects. (@richardscarrottin #6134)- Fix a batching bug resulting in some lifecycle methods incorrectly being called multiple times. (
@sophiebitsin #6650)
... (truncated)
Commits
- See full diff in compare view
You can trigger a rebase of this PR 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)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Pull Request Statistics
Commits:
1
1
Files Changed:
2
2
Additions:
+5
+5
Deletions:
-5
-5
Package Dependencies
Technical Details
| ID: | 1309848 |
| UUID: | 2367339909 |
| Node ID: | PR_kwDOAyKKHs6NGr2F |
| Host: | GitHub |
| Repository: | draft-js-plugins/draft-js-plugins |
| Merge State: | Dirty |