Bump eslint-plugin-react from 7.26.1 to 7.27.0 in /desktop (#3062)

Summary:
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.26.1 to 7.27.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md">eslint-plugin-react's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.26.1...v7.27.0">7.27.0</a> - 2021.11.09</h2>
<h3>Added</h3>
<ul>
<li>support eslint 8.x (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3059">https://github.com/facebook/flipper/issues/3059</a>[] <a href="https://github.com/MichaelDeBoey"><code>@​MichaelDeBoey</code></a> <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>no-unused-class-component-methods</code>]: Handle unused class component methods (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2166">https://github.com/facebook/flipper/issues/2166</a>[] <a href="https://github.com/jakeleventhal"><code>@​jakeleventhal</code></a> <a href="https://github.com/pawelnvk"><code>@​pawelnvk</code></a>)</li>
<li>add [<code>no-arrow-function-lifecycle</code>] (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1980">https://github.com/facebook/flipper/issues/1980</a>[] <a href="https://github.com/ngtan"><code>@​ngtan</code></a>)</li>
<li>add support for <code>typescript-eslint/parser</code> v5 (<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>no-invalid-html-attribute</code>]: add rule (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2863">https://github.com/facebook/flipper/issues/2863</a>[] <a href="https://github.com/Nokel81"><code>@​Nokel81</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>propTypes</code>: add <code>VoidFunctionComponent</code> to react generic list (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3092">#3092</a>[] <a href="https://github.com/vedadeepta"><code>@​vedadeepta</code></a>)</li>
<li>[<code>jsx-fragments</code>], [<code>jsx-no-useless-fragment</code>]: avoid a crash on fragment syntax in <code>typescript-eslint</code> parser (<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>jsx-props-no-multi-spaces</code>]: avoid a crash on long member chains in tag names in <code>typescript-eslint</code> parser (<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>no-unused-prop-types</code>], <code>usedPropTypes</code>: avoid crash with typescript-eslint parser (<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>display-name</code>]: unwrap TS <code>as</code> expressions (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3110">#3110</a>[] <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>destructuring-assignment</code>]: detect refs nested in functions (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3102">#3102</a> <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>no-unstable-components</code>]: improve handling of objects containing render function properties (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3111">#3111</a> <a href="https://github.com/fizwidget"><code>@​fizwidget</code></a>)</li>
<li>[<code>prop-types</code>], <code>propTypes</code>: add forwardRef<!-- raw HTML omitted --> prop-types (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3112">#3112</a> <a href="https://github.com/vedadeepta"><code>@​vedadeepta</code></a>)</li>
<li>[<code>no-typos</code>]: prevent a crash when using private methods (<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>destructuring-assignment</code>], component detection: improve component detection (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3122">#3122</a> <a href="https://github.com/vedadeepta"><code>@​vedadeepta</code></a>)</li>
<li>[<code>no-invalid-html-attribute</code>]: avoid crash on spread props (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3126">#3126</a> <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Tests] test on the new babel eslint parser (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3113">#3113</a> <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[Docs] [<code>jsx-no-target-blank</code>]: adjust options description (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3124">#3124</a> <a href="https://github.com/gebsh"><code>@​gebsh</code></a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3126">#3126</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issue/3126">yannickcr/eslint-plugin-react#3126</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3124">#3124</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3124">yannickcr/eslint-plugin-react#3124</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3122">#3122</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3122">yannickcr/eslint-plugin-react#3122</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3113">#3113</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3113">yannickcr/eslint-plugin-react#3113</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3112">#3112</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3112">yannickcr/eslint-plugin-react#3112</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3111">#3111</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3111">yannickcr/eslint-plugin-react#3111</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3110">#3110</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3110">yannickcr/eslint-plugin-react#3110</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3102">#3102</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issue/3102">yannickcr/eslint-plugin-react#3102</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3092">#3092</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3092">yannickcr/eslint-plugin-react#3092</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3059">https://github.com/facebook/flipper/issues/3059</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3059">yannickcr/eslint-plugin-react#3059</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2863">https://github.com/facebook/flipper/issues/2863</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2863">yannickcr/eslint-plugin-react#2863</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2166">https://github.com/facebook/flipper/issues/2166</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2166">yannickcr/eslint-plugin-react#2166</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1980">https://github.com/facebook/flipper/issues/1980</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/1980">yannickcr/eslint-plugin-react#1980</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="21e01b61af"><code>21e01b6</code></a> Update CHANGELOG and bump version</li>
<li><a href="10c0e6a71d"><code>10c0e6a</code></a> [Dev Deps] update <code>babel/eslint-parser</code>, <code>types/node</code></li>
<li><a href="9e12d2b505"><code>9e12d2b</code></a> [New] support eslint 8.x</li>
<li><a href="c3c97e38f9"><code>c3c97e3</code></a> [Dev Deps] update <code>eslint-config-airbnb-base</code></li>
<li><a href="38628eddad"><code>38628ed</code></a> [Tests] improve parser cases debug comment</li>
<li><a href="e5b9f3543f"><code>e5b9f35</code></a> [Fix] <code>no-invalid-html-attribute</code>: avoid crash on spread props</li>
<li><a href="e672316fc4"><code>e672316</code></a> [Docs] <code>jsx-no-target-blank</code>: adjust options description</li>
<li><a href="7b3d728abc"><code>7b3d728</code></a> [Fix] <code>destructuring-assignment</code>, component detection: improve component dete...</li>
<li><a href="0743c41ab7"><code>0743c41</code></a> [Tests] improve babel parser options</li>
<li><a href="9fd9856de4"><code>9fd9856</code></a> [Dev Deps] Update <code>eslint-remote-tester-run-action</code></li>
<li>Additional commits viewable in <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.26.1...v7.27.0">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.26.1&new-version=7.27.0)](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 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>

Pull Request resolved: https://github.com/facebook/flipper/pull/3062

Reviewed By: mweststrate

Differential Revision: D32529284

Pulled By: passy

fbshipit-source-id: 8856b94e3958aa3edf847df1d60e1fbdfe153eee
This commit is contained in:
dependabot[bot]
2021-11-18 11:37:23 -08:00
committed by Facebook GitHub Bot
parent c00588d155
commit 0383d33aab
3 changed files with 26 additions and 34 deletions

View File

@@ -15,7 +15,7 @@
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react": "^7.27.0",
"jest": "^26.6.3",
"prettier": "^2.4.1",
"ts-jest": "^26.5.6",