This option allow to don't warn when a constant (string, number, boolean, templateLiteral) is exported aside one or more components.
This should be enabled if the fast refresh implementation correctly handles this case (HMR when the constant doesn't change, propagate update to importers when the constant changes). Vite supports it, PR welcome if you notice other integrations works well.
This option allow to don't warn when a constant (string, number, boolean, templateLiteral) is exported aside one or more components.
This should be enabled if the fast refresh implementation correctly handles this case (HMR when the constant doesn't change, propagate update to importers when the constant changes). Vite supports it, PR welcome if you notice other integrations works well.
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 commands and options
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)
Bumps [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) from 0.3.5 to 0.4.1.
<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.4.1</h2>
<ul>
<li>Ignore <code>export type *</code> (fixes <a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/12">#12</a>)</li>
<li>Support for all-uppercase function wrapped in forwardRef/memo (<a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/11">#11</a>)</li>
</ul>
<h2>v0.4.0</h2>
<h3>Add <code>allowConstantExport</code> option (fixes <a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/8">#8</a>)</h3>
<p>This option allow to don't warn when a constant (string, number, boolean, templateLiteral) is exported aside one or more components.</p>
<p>This should be enabled if the fast refresh implementation correctly handles this case (HMR when the constant doesn't change, propagate update to importers when the constant changes). Vite supports it, PR welcome if you notice other integrations works well.</p>
<h3>Allow all-uppercase function exports (fixes <a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/11">#11</a>)</h3>
<p>This only works when using direct export. So this pattern doesn't warn anymore:</p>
<pre lang="jsx"><code>export const CMS = () => <></>;
</code></pre>
<p>But this one will still warn:</p>
<pre lang="jsx"><code>const CMS = () => <></>;
export default CMS;
</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.4.1</h2>
<ul>
<li>Ignore <code>export type *</code> (fixes <a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/12">#12</a>)</li>
<li>Support for all-uppercase function wrapped in forwardRef/memo (<a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/11">#11</a>)</li>
</ul>
<h2>0.4.0</h2>
<h3>Add <code>allowConstantExport</code> option (fixes <a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/8">#8</a>)</h3>
<p>This option allow to don't warn when a constant (string, number, boolean, templateLiteral) is exported aside one or more components.</p>
<p>This should be enabled if the fast refresh implementation correctly handles this case (HMR when the constant doesn't change, propagate update to importers when the constant changes). Vite supports it, PR welcome if you notice other integrations works well.</p>
<h3>Allow all-uppercase function exports (fixes <a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/11">#11</a>)</h3>
<p>This only works when using direct export. So this pattern doesn't warn anymore:</p>
<pre lang="jsx"><code>export const CMS = () => <></>;
</code></pre>
<p>But this one will still warn:</p>
<pre lang="jsx"><code>const CMS = () => <></>;
export default CMS;
</code></pre>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/c0d156b84bb79bc31b75dc525c2f1ae560563fb3"><code>c0d156b</code></a> Support for all-uppercase function wrapped in forwardRef/memo (<a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/11">#11</a>) [publish]</li>
<li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/35cfa852695ebea57453c5eb34a9ba22f1414699"><code>35cfa85</code></a> Ignore <code>export type *</code> (fixes <a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/12">#12</a>)</li>
<li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/add5efba30007d1078d248def58c44ceb72f90dc"><code>add5efb</code></a> Release 0.4.0 [publish]</li>
<li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/774976b7fded42c4d40f3a84f51538d33b230c06"><code>774976b</code></a> Bump dev deps & use bun as test runner</li>
<li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/ba7d589e4564612340a27ff5f4c02c86940b3db8"><code>ba7d589</code></a> Add allowConstantExport option (fixes <a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/8">#8</a>)</li>
<li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/d6514dee21e8203eb815fe72652d740a94bb8800"><code>d6514de</code></a> Allow all-uppercase functions exports (fixes <a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/11">#11</a>)</li>
<li>See full diff in <a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.3.5...v0.4.1">compare view</a></li>
</ul>
</details>
<br />
[](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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps eslint-plugin-react-refresh from 0.3.5 to 0.4.1.
Release notes
Sourced from eslint-plugin-react-refresh's releases.
Changelog
Sourced from eslint-plugin-react-refresh's changelog.
Commits
c0d156bSupport for all-uppercase function wrapped in forwardRef/memo (#11) [publish]35cfa85Ignoreexport type *(fixes #12)add5efbRelease 0.4.0 [publish]774976bBump dev deps & use bun as test runnerba7d589Add allowConstantExport option (fixes #8)d6514deAllow all-uppercase functions exports (fixes #11)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 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 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)Deploying with
Cloudflare Pages
9a33a57View logs