chore(deps-dev): Bump eslint-plugin-react-refresh from 0.5.6 to 0.5.7 in the react group (#2171)

Bumps the react group with 1 update:
[eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh).

Updates `eslint-plugin-react-refresh` from 0.5.6 to 0.5.7
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases">eslint-plugin-react-refresh's
releases</a>.</em></p>
<blockquote>
<h2>v0.5.7</h2>
<h3>Add <code>allowCompoundComponents</code> option (<a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/pull/117">#117</a>)</h3>
<blockquote>
<p>Default: <code>false</code> (<code>true</code> in <code>vite</code>
config)</p>
</blockquote>
<p>Don't warn when components are exported as an object gathering them.
Every member of the object must be a component, and a member holding an
anonymous function requires a component name as key.</p>
<p>This should be enabled if the fast refresh implementation correctly
handles this case. Vite supports it since
<code>@vitejs/plugin-react</code> 4.7.0,
<code>@vitejs/plugin-react-swc</code> 3.11.0.</p>
<pre lang="json"><code>{
  &quot;react-refresh/only-export-components&quot;: [
    &quot;error&quot;,
    { &quot;allowCompoundComponents&quot;: true }
  ]
}
</code></pre>
<p>Enabling this option allows code such as the following:</p>
<pre lang="jsx"><code>const Root = () =&gt; &lt;&gt;&lt;/&gt;;
const Label = () =&gt; &lt;&gt;&lt;/&gt;;
export const Tag = { Root, Label };
</code></pre>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md">eslint-plugin-react-refresh's
changelog</a>.</em></p>
<blockquote>
<h2>0.5.7</h2>
<h3>Add <code>allowCompoundComponents</code> option (<a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/pull/117">#117</a>)</h3>
<blockquote>
<p>Default: <code>false</code> (<code>true</code> in <code>vite</code>
config)</p>
</blockquote>
<p>Don't warn when components are exported as an object gathering them.
Every member of the object must be a component, and a member holding an
anonymous function requires a component name as key.</p>
<p>This should be enabled if the fast refresh implementation correctly
handles this case. Vite supports it since
<code>@vitejs/plugin-react</code> 4.7.0,
<code>@vitejs/plugin-react-swc</code> 3.11.0.</p>
<pre lang="json"><code>{
  &quot;react-refresh/only-export-components&quot;: [
    &quot;error&quot;,
    { &quot;allowCompoundComponents&quot;: true }
  ]
}
</code></pre>
<p>Enabling this option allows code such as the following:</p>
<pre lang="jsx"><code>const Root = () =&gt; &lt;&gt;&lt;/&gt;;
const Label = () =&gt; &lt;&gt;&lt;/&gt;;
export const Tag = { Root, Label };
</code></pre>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/fd40d83dccc17203dbbbc4e75507f49f44e755cc"><code>fd40d83</code></a>
Add allowCompoundComponents option [publish] (<a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/117">#117</a>)</li>
<li>See full diff in <a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.5.6...v0.5.7">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-react-refresh&package-manager=npm_and_yarn&previous-version=0.5.6&new-version=0.5.7)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2026-09-18 14:02:07 +00:00
committed by GitHub
parent 0ee4b7ff1c
commit 83772d7e37
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -95,7 +95,7 @@
"eslint": "^10.10.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.6",
"eslint-plugin-react-refresh": "^0.5.7",
"i18next-cli": "^1.73.2",
"istanbul": "^0.4.5",
"istanbul-lib-coverage": "^3.2.2",
@@ -5287,9 +5287,9 @@
}
},
"node_modules/eslint-plugin-react-refresh": {
"version": "0.5.6",
"resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.5.6.tgz",
"integrity": "sha512-uZnh24On2bk478AkaDAKcpRiYhS3qFSaSNvpXxV6/Ek/BBDICkWGG7MnBSfjnIlCVBei5vsLlIeQYxbF22+Udg==",
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.5.7.tgz",
"integrity": "sha512-XhJSzLljuYD4UjNuFGJu2v7aD3sqNVK12w5/DCUfrNfHWegZo2+TsavNx8MuxMwEquuFAzNbNfXKU0WoZ+YUIg==",
"dev": true,
"license": "MIT",
"peerDependencies": {
+1 -1
View File
@@ -130,7 +130,7 @@
"eslint": "^10.10.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.6",
"eslint-plugin-react-refresh": "^0.5.7",
"i18next-cli": "^1.73.2",
"istanbul": "^0.4.5",
"istanbul-lib-coverage": "^3.2.2",