Bump eslint-plugin-react from 7.27.1 to 7.28.0 in /desktop (#3221)

Summary:
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.27.1 to 7.28.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.27.1...v7.28.0">7.28.0</a> - 2021.12.22</h2>
<h3>Added</h3>
<ul>
<li>[<code>function-component-definition</code>]: support namedComponents option being an array (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3129">https://github.com/facebook/flipper/issues/3129</a>[] <a href="https://github.com/petersendidit"><code>@​petersendidit</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[<code>jsx-indent-props</code>]: Reset <code>line.isUsingOperator</code> correctly after ternary (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3146">https://github.com/facebook/flipper/issues/3146</a>[] <a href="https://github.com/tobiaswaltl"><code>@​tobiaswaltl</code></a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Refactor] [<code>no-arrow-function-lifecycle</code>], [<code>no-unused-class-component-methods</code>]: use report/messages convention (<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[Tests] component detection: Add testing scaffolding (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3149">https://github.com/facebook/flipper/issues/3149</a>[] <a href="https://github.com/duncanbeevers"><code>@​duncanbeevers</code></a>)</li>
<li>[New] component detection: track React imports (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3149">https://github.com/facebook/flipper/issues/3149</a>[] <a href="https://github.com/duncanbeevers"><code>@​duncanbeevers</code></a>)</li>
<li>[New] component detection: add <code>util.isReactHookCall</code> (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3156">https://github.com/facebook/flipper/issues/3156</a>[] <a href="https://github.com/duncanbeevers"><code>@​duncanbeevers</code></a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3156">https://github.com/facebook/flipper/issues/3156</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3156">yannickcr/eslint-plugin-react#3156</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3149">https://github.com/facebook/flipper/issues/3149</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3149">yannickcr/eslint-plugin-react#3149</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3146">https://github.com/facebook/flipper/issues/3146</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3146">yannickcr/eslint-plugin-react#3146</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3129">https://github.com/facebook/flipper/issues/3129</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3129">yannickcr/eslint-plugin-react#3129</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="9be55ed7f2"><code>9be55ed</code></a> Update CHANGELOG and bump version</li>
<li><a href="5a253803c2"><code>5a25380</code></a> [New] component detection: add <code>util.isReactHookCall</code></li>
<li><a href="3db5285913"><code>3db5285</code></a> [Fix] <code>jsx-indent-props</code>: Reset <code>line.isUsingOperator</code> correctly after ternary</li>
<li><a href="d56fdb8054"><code>d56fdb8</code></a> [Tests] rename test file to match production file</li>
<li><a href="ac4e311f07"><code>ac4e311</code></a> [Tests] tiny cleanup</li>
<li><a href="f7943d5f77"><code>f7943d5</code></a> [Test] parsers.all augments suggestion code output</li>
<li><a href="e3d3525bf9"><code>e3d3525</code></a> [New] <code>function-component-definition</code>: support namedComponents option being a...</li>
<li><a href="d5bf8d9669"><code>d5bf8d9</code></a> [Dev Deps] update <code>eslint-plugin-import</code></li>
<li><a href="a09debf0ac"><code>a09debf</code></a> [New] components detection: track React imports</li>
<li><a href="8b98e60472"><code>8b98e60</code></a> [Tests] component detection: Add testing scaffolding</li>
<li>Additional commits viewable in <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.27.1...v7.28.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.27.1&new-version=7.28.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/3221

Reviewed By: timur-valiev

Differential Revision: D33348276

Pulled By: nikoant

fbshipit-source-id: 283c956d2657edbd0018e7563be1e4638b680c26
This commit is contained in:
dependabot[bot]
2022-01-01 21:00:27 -08:00
committed by Facebook GitHub Bot
parent 9dee8434de
commit 64da251226
2 changed files with 5 additions and 5 deletions

View File

@@ -88,7 +88,7 @@
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.2.0", "eslint-plugin-promise": "^5.2.0",
"eslint-plugin-react": "^7.27.1", "eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-rulesdir": "^0.2.1", "eslint-plugin-rulesdir": "^0.2.1",
"jest": "^26.6.3", "jest": "^26.6.3",

View File

@@ -5547,10 +5547,10 @@ eslint-plugin-react-hooks@^4.3.0:
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.3.0.tgz#318dbf312e06fab1c835a4abef00121751ac1172" resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.3.0.tgz#318dbf312e06fab1c835a4abef00121751ac1172"
integrity sha512-XslZy0LnMn+84NEG9jSGR6eGqaZB3133L8xewQo3fQagbQuGt7a63gf+P1NGKZavEYEC3UXaWEAA/AqDkuN6xA== integrity sha512-XslZy0LnMn+84NEG9jSGR6eGqaZB3133L8xewQo3fQagbQuGt7a63gf+P1NGKZavEYEC3UXaWEAA/AqDkuN6xA==
eslint-plugin-react@^7.27.1: eslint-plugin-react@^7.28.0:
version "7.27.1" version "7.28.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.27.1.tgz#469202442506616f77a854d91babaae1ec174b45" resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.28.0.tgz#8f3ff450677571a659ce76efc6d80b6a525adbdf"
integrity sha512-meyunDjMMYeWr/4EBLTV1op3iSG3mjT/pz5gti38UzfM4OPpNc2m0t2xvKCOMU5D6FSdd34BIMFOvQbW+i8GAA== integrity sha512-IOlFIRHzWfEQQKcAD4iyYDndHwTQiCMcJVJjxempf203jnNLUnW34AXLrV33+nEXoifJE2ZEGmcjKPL8957eSw==
dependencies: dependencies:
array-includes "^3.1.4" array-includes "^3.1.4"
array.prototype.flatmap "^1.2.5" array.prototype.flatmap "^1.2.5"