From e48b68224b386bd20ca43b21f299de4fb64b8a0e Mon Sep 17 00:00:00 2001 From: Connor Shea Date: Wed, 11 Mar 2026 18:21:42 -0600 Subject: [PATCH] docs: Add a link to the Oxlint rule for component exports alongside the ESLint rule link. Also fix the capitalization for ESLint :) --- packages/plugin-react-oxc/README.md | 2 +- packages/plugin-react-swc/README.md | 2 +- packages/plugin-react/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/plugin-react-oxc/README.md b/packages/plugin-react-oxc/README.md index bc6b77646..0450c9d64 100644 --- a/packages/plugin-react-oxc/README.md +++ b/packages/plugin-react-oxc/README.md @@ -82,4 +82,4 @@ For React refresh to work correctly, your file should only export React componen If an incompatible change in exports is found, the module will be invalidated and HMR will propagate. To make it easier to export simple constants alongside your component, the module is only invalidated when their value changes. -You can catch mistakes and get more detailed warning with this [eslint rule](https://github.com/ArnaudBarre/eslint-plugin-react-refresh). +You can catch mistakes and get more detailed warnings with this [ESLint rule](https://github.com/ArnaudBarre/eslint-plugin-react-refresh), or the equivalent [Oxlint rule](https://oxc.rs/docs/guide/usage/linter/rules/react/only-export-components.html). diff --git a/packages/plugin-react-swc/README.md b/packages/plugin-react-swc/README.md index e20554e44..fc7ac6da4 100644 --- a/packages/plugin-react-swc/README.md +++ b/packages/plugin-react-swc/README.md @@ -163,4 +163,4 @@ For React refresh to work correctly, your file should only export React componen If an incompatible change in exports is found, the module will be invalidated and HMR will propagate. To make it easier to export simple constants alongside your component, the module is only invalidated when their value changes. -You can catch mistakes and get more detailed warning with this [eslint rule](https://github.com/ArnaudBarre/eslint-plugin-react-refresh). +You can catch mistakes and get more detailed warnings with this [ESLint rule](https://github.com/ArnaudBarre/eslint-plugin-react-refresh), or the equivalent [Oxlint rule](https://oxc.rs/docs/guide/usage/linter/rules/react/only-export-components.html). diff --git a/packages/plugin-react/README.md b/packages/plugin-react/README.md index 80a90c5db..c85bb749d 100644 --- a/packages/plugin-react/README.md +++ b/packages/plugin-react/README.md @@ -158,4 +158,4 @@ For React refresh to work correctly, your file should only export React componen If an incompatible change in exports is found, the module will be invalidated and HMR will propagate. To make it easier to export simple constants alongside your component, the module is only invalidated when their value changes. -You can catch mistakes and get more detailed warning with this [eslint rule](https://github.com/ArnaudBarre/eslint-plugin-react-refresh). +You can catch mistakes and get more detailed warnings with this [ESLint rule](https://github.com/ArnaudBarre/eslint-plugin-react-refresh), or the equivalent [Oxlint rule](https://oxc.rs/docs/guide/usage/linter/rules/react/only-export-components.html).