Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump eslint-plugin-react-refresh from 0.4.6 to 0.4.18 (#987)
Bumps [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) from 0.4.6 to 0.4.18. <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.18</h2> <p>ESM/CJS interop is the worse that happened to this ecosystem, this is all I have to say.</p> <h2>v0.4.17</h2> <ul> <li>Fix detection of local components to not generate warning on for variable inside JSX files that follow React component naming (fixes <a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/75">#75</a>)</li> <li>Update types to not require extra unnecessary <code>.default</code> property access under TS node16 module resolution (fixes <a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/70">#70</a>)</li> </ul> <h2>v0.4.16</h2> <p>Fix CJS/ESM interop issue. Sorry everyone for the trouble.</p> <h2>v0.4.15</h2> <h3>Add support for custom HOCs (<a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/60">#60</a>)</h3> <p>By default, the rule only knows that <code>memo</code> & <code>forwardRef</code> function calls with return a React component. With this option, you can also allow extra function names like Mobx observer to make this code valid:</p> <pre lang="tsx"><code>const Foo = () => <></>; export default observer(Foo); </code></pre> <pre lang="json"><code>{ "react-refresh/only-export-components": [ "error", { "customHOCs": ["observer"] } ] } </code></pre> <p>Thanks <a href="https://github.com/HorusGoul"><code>@HorusGoul</code></a>!</p> <h3>Add recommended config and simple types (<a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/67">#67</a>)</h3> <p>You can now add the recommended config to your ESLint config like this:</p> <pre lang="js"><code>import reactRefresh from "eslint-plugin-react-refresh"; <p>export default [ /* Main config */ reactRefresh.configs.recommended, // Or reactRefresh.configs.vite for Vite users ]; </code></pre></p> <p>To follow ESLint recommandations, the rule is added with the <code>error</code> severity.</p> <p>Some simple types ensure that people typecheking their config won't need <code>@ts-expect-error</code> anymore.</p> <h3>Bump ESLint peer dependency to 8.40</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.18</h2> <p>ESM/CJS interop is the worth that happend to this ecosystem, this is all I have to say.</p> <h2>0.4.17</h2> <ul> <li>Fix detection of local components to not generate warning on for variable inside JSX files that follow React component naming (fixes <a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/75">#75</a>)</li> <li>Update types to not require extra unnecessary <code>.default</code> property access under TS node16 module resolution (fixes <a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/70">#70</a>)</li> </ul> <h2>0.4.16</h2> <p>Fix CJS/ESM interop issue. Sorry everyone for the trouble.</p> <h2>0.4.15</h2> <h3>Add support for custom HOCs (<a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/60">#60</a>)</h3> <p>By default, the rule only knows that <code>memo</code> & <code>forwardRef</code> function calls with return a React component. With this option, you can also allow extra function names like Mobx observer to make this code valid:</p> <pre lang="tsx"><code>const Foo = () => <></>; export default observer(Foo); </code></pre> <pre lang="json"><code>{ "react-refresh/only-export-components": [ "error", { "customHOCs": ["observer"] } ] } </code></pre> <p>Thanks <a href="https://github.com/HorusGoul"><code>@HorusGoul</code></a>!</p> <h3>Add recommended config and simple types (<a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/67">#67</a>)</h3> <p>You can now add the recommended config to your ESLint config like this:</p> <pre lang="js"><code>import reactRefresh from "eslint-plugin-react-refresh"; <p>export default [ /* Main config */ reactRefresh.configs.recommended, // Or reactRefresh.configs.vite for Vite users ]; </code></pre></p> <p>To follow ESLint recommandations, the rule is added with the <code>error</code> severity.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/3d6251de43d1bb85868063faa444380f39c76a84"><code>3d6251d</code></a> Fix types [publish]</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/47f25f07d9de73238fd4a96feaca87eaa1392099"><code>47f25f0</code></a> Update types to not require extra unnecessary <code>.default</code> property access unde...</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/639e7724f472ed2ed1cd9e1955519ba6705431a9"><code>639e772</code></a> Fix detection of local components to not generate warning on for variable ins...</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/d939cc4bd483850c791c74d99b1b4962fa7f4275"><code>d939cc4</code></a> Fix exports [publish]</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/7d1709b06591dab298ca8dce57a4f9254959b826"><code>7d1709b</code></a> 0.4.15 [publish]</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/ec747c2a25106bca12002007832217916bf2f36c"><code>ec747c2</code></a> Add configs and simple types (<a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/67">#67</a>)</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/359ae21a40308ee638e4a980a489c8a80d50ed19"><code>359ae21</code></a> Bump ESLint peer dependency (fixes <a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/56">#56</a>)</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/86bddb3b9ac4c04a80a7d11e2bec33f638603169"><code>86bddb3</code></a> Add changelog entry & simplify legacy name based only check</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/478e7788bd39f8b860983ca4d9275afdeb1f292f"><code>478e778</code></a> Add basic support for custom HOCs (<a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/60">#60</a>)</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/94c9d7d98cd5f855de95fdcdc1fc414c393fb31e"><code>94c9d7d</code></a> docs: switch suggested severity from 'warn' to 'error' (<a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/66">#66</a>)</li> <li>Additional commits viewable in <a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.6...v0.4.18">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 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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Harel M <harel.mazor@gmail.com>
- Loading branch information