Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade: [dependabot] - bump eslint-plugin-react from 7.35.2 to 7.36.1 (
#2731) Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.35.2 to 7.36.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jsx-eslint/eslint-plugin-react/releases">eslint-plugin-react's releases</a>.</em></p> <blockquote> <h2>v7.36.1</h2> <h3>Fixed</h3> <ul> <li><a href="docs/rules/no-is-mounted.md"><code>no-is-mounted</code></a>: fix logic in method name check (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3821">#3821</a>[] <a href="https://github.com/Mathias-S"><code>@Mathias-S</code></a>)</li> <li><a href="docs/rules/jsx-no-literals.md"><code>jsx-no-literals</code></a>: Avoid crashing on valueless boolean props (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3823">#3823</a>[] <a href="https://github.com/reosarevok"><code>@reosarevok</code></a>)</li> </ul> <p><a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3823">#3823</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3823">jsx-eslint/eslint-plugin-react#3823</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3821">#3821</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3821">jsx-eslint/eslint-plugin-react#3821</a></p> <h2>v7.36.0</h2> <h3>Added</h3> <ul> <li>[<code>no-string-refs</code>]: allow this.refs in > 18.3.0 (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3807">#3807</a>[] <a href="https://github.com/henryqdineen"><code>@henryqdineen</code></a>)</li> <li><a href="docs/rules/jsx-no-literals.md"><code>jsx-no-literals</code></a> Add <code>elementOverrides</code> option and the ability to ignore this rule on specific elements (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3812">#3812</a>[] <a href="https://github.com/Pearce-Ropion"><code>@Pearce-Ropion</code></a>)</li> <li>[<code>forward-ref-uses-ref</code>]: add rule for checking ref parameter is added (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3667">#3667</a>[] <a href="https://github.com/NotWoods"><code>@NotWoods</code></a>)</li> </ul> <h3>Fixed</h3> <ul> <li>[<code>function-component-definition</code>], <a href="docs/rules/boolean-prop-naming.md"><code>boolean-prop-naming</code></a>, [<code>jsx-first-prop-new-line</code>], [<code>jsx-props-no-multi-spaces</code>], <code>propTypes</code>: use type args (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3629">#3629</a>[] <a href="https://github.com/HenryBrown0"><code>@HenryBrown0</code></a>)</li> <li>JSX pragma: fail gracefully (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3632">#3632</a>[] <a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> <li>[<code>jsx-props-no-spreading</code>]: add <code>explicitSpread</code> option to schema (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3799">#3799</a>[] <a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> </ul> <h3>Changed</h3> <ul> <li>[Tests] add <code>@typescript-eslint/parser</code> v6 (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3629">#3629</a>[] <a href="https://github.com/HenryBrown0"><code>@HenryBrown0</code></a>)</li> <li>[Tests] add <code>@typescript-eslint/parser</code> v7 and v8 (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3629">#3629</a>[] <a href="https://github.com/hampustagerud"><code>@hampustagerud</code></a>)</li> <li>[Docs] [<code>no-danger</code>]: update broken link (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3817">#3817</a>[] <a href="https://github.com/lucasrmendonca"><code>@lucasrmendonca</code></a>)</li> <li>[types] add jsdoc type annotations (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3731">#3731</a>[] <a href="https://github.com/y-hsgw"><code>@y-hsgw</code></a>)</li> <li>[Tests] <code>button-has-type</code>: add test case with spread (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3731">#3731</a>[] <a href="https://github.com/y-hsgw"><code>@y-hsgw</code></a>)</li> </ul> <p><a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3799">#3799</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3799">jsx-eslint/eslint-plugin-react#3799</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3632">#3632</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3632">jsx-eslint/eslint-plugin-react#3632</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3812">#3812</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3812">jsx-eslint/eslint-plugin-react#3812</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3731">#3731</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3731">jsx-eslint/eslint-plugin-react#3731</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3694">#3694</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3667">jsx-eslint/eslint-plugin-react#3667</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3629">#3629</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3629">jsx-eslint/eslint-plugin-react#3629</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3817">#3817</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3817">jsx-eslint/eslint-plugin-react#3817</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3807">#3807</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3807">jsx-eslint/eslint-plugin-react#3807</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md">eslint-plugin-react's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.0...v7.36.1">7.36.1</a> - 2024.09.12</h2> <h3>Fixed</h3> <ul> <li>[<code>no-is-mounted</code>]: fix logic in method name check (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3821">#3821</a>[] <a href="https://github.com/Mathias-S"><code>@Mathias-S</code></a>)</li> <li>[<code>jsx-no-literals</code>]: Avoid crashing on valueless boolean props (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3823">#3823</a>[] <a href="https://github.com/reosarevok"><code>@reosarevok</code></a>)</li> </ul> <p><a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3823">#3823</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3823">jsx-eslint/eslint-plugin-react#3823</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3821">#3821</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3821">jsx-eslint/eslint-plugin-react#3821</a></p> <h2><a href="https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.2...v7.36.0">7.36.0</a> - 2024.09.12</h2> <h3>Added</h3> <ul> <li>[<code>no-string-refs</code>]: allow this.refs in > 18.3.0 (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3807">#3807</a>[] <a href="https://github.com/henryqdineen"><code>@henryqdineen</code></a>)</li> <li>[<code>jsx-no-literals</code>] Add <code>elementOverrides</code> option and the ability to ignore this rule on specific elements (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3812">#3812</a>[] <a href="https://github.com/Pearce-Ropion"><code>@Pearce-Ropion</code></a>)</li> <li>[<code>forward-ref-uses-ref</code>]: add rule for checking ref parameter is added (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3667">#3667</a>[] <a href="https://github.com/NotWoods"><code>@NotWoods</code></a>)</li> </ul> <h3>Fixed</h3> <ul> <li>[<code>function-component-definition</code>], [<code>boolean-prop-naming</code>], [<code>jsx-first-prop-new-line</code>], [<code>jsx-props-no-multi-spaces</code>], <code>propTypes</code>: use type args (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3629">#3629</a>[] <a href="https://github.com/HenryBrown0"><code>@HenryBrown0</code></a>)</li> <li>JSX pragma: fail gracefully (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3632">#3632</a>[] <a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> <li>[<code>jsx-props-no-spreading</code>]: add <code>explicitSpread</code> option to schema (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3799">#3799</a>[] <a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> </ul> <h3>Changed</h3> <ul> <li>[Tests] add <code>@typescript-eslint/parser</code> v6 (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3629">#3629</a>[] <a href="https://github.com/HenryBrown0"><code>@HenryBrown0</code></a>)</li> <li>[Tests] add <code>@typescript-eslint/parser</code> v7 and v8 (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3629">#3629</a>[] <a href="https://github.com/hampustagerud"><code>@hampustagerud</code></a>)</li> <li>[Docs] [<code>no-danger</code>]: update broken link (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3817">#3817</a>[] <a href="https://github.com/lucasrmendonca"><code>@lucasrmendonca</code></a>)</li> <li>[types] add jsdoc type annotations (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3731">#3731</a>[] <a href="https://github.com/y-hsgw"><code>@y-hsgw</code></a>)</li> <li>[Tests] <code>button-has-type</code>: add test case with spread (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3731">#3731</a>[] <a href="https://github.com/y-hsgw"><code>@y-hsgw</code></a>)</li> </ul> <p><a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3799">#3799</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3799">jsx-eslint/eslint-plugin-react#3799</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3632">#3632</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3632">jsx-eslint/eslint-plugin-react#3632</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3812">#3812</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3812">jsx-eslint/eslint-plugin-react#3812</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3731">#3731</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3731">jsx-eslint/eslint-plugin-react#3731</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3694">#3694</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3667">jsx-eslint/eslint-plugin-react#3667</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3629">#3629</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3629">jsx-eslint/eslint-plugin-react#3629</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3817">#3817</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3817">jsx-eslint/eslint-plugin-react#3817</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3807">#3807</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3807">jsx-eslint/eslint-plugin-react#3807</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/59ef14c0d592872692399e30b75fc470f1a7695b"><code>59ef14c</code></a> Update CHANGELOG and bump version</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/99e15e131aa483fecc1e64d3bcdf719ddd141361"><code>99e15e1</code></a> [Fix] <code>jsx-no-literals</code>: Avoid crashing on valueless boolean props</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/a09083b1ce38b7ef6704a048cf26eb96ad774d0e"><code>a09083b</code></a> [Fix] <code>no-is-mounted</code>: fix logic in method name check</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/1df23d21f4e12303b65ee174e0c0b0be22720766"><code>1df23d2</code></a> [actions] fix release script</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/b918f02ce24c2c835415fbc32b6138904c85eeec"><code>b918f02</code></a> [meta] add missing rule link</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/f25251f590fa30deba711a7d7b441ca519176b62"><code>f25251f</code></a> Update CHANGELOG and bump version</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/ceb73fe7a5d34e10c1f4b19b1e2063c6b54bc32a"><code>ceb73fe</code></a> [New] add <code>forward-ref-uses-ref</code> rule for checking ref parameter</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/ed64b247f2434b0f1d9feaa98a4e6c64e978ea7c"><code>ed64b24</code></a> [Fix] <code>jsx-props-no-spreading</code>: add <code>explicitSpread</code> option to schema</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/f435df9b8a53413a873aaa9379e556f9394fdd97"><code>f435df9</code></a> [Tests] <code>button-has-type</code>: add test case with spread</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/0a8092f61a2fed237023a50e2382f59be0b5918c"><code>0a8092f</code></a> [types] add jsdoc type annotations</li> <li>Additional commits viewable in <a href="https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.2...v7.36.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-react&package-manager=npm_and_yarn&previous-version=7.35.2&new-version=7.36.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information