This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| eslint-plugin-react-refresh (source) | 0.4.19 -> 0.5.0 |
Release Notes
ArnaudBarre/eslint-plugin-react-refresh (eslint-plugin-react-refresh)
0.4.19 -> 0.5.0
v0.5.0
Breaking changes
- The package now ships as ESM and requires ESLint 9 + node 20. Because legacy config doesn't support ESM, this requires to use flat config
- A new
reactRefreshexport is available and prefered over the default export. It's an object with two properties:plugin: The plugin object with the rulesconfigs: An object containing configuration presets, each exposed as a function. These functions accept your custom options, merge them with sensible defaults for that config, and return the final config object.
customHOCsoption was renamed toextraHOCs- Validation of HOCs calls is now more strict, you may need to add some HOCs to the
extraHOCsoption
Config example:
import { defineConfig } from "eslint/config";
import { reactRefresh } from "eslint-plugin-react-refresh";
export default defineConfig(
/* Main config */
reactRefresh.configs.vite({ extraHOCs: ["someLibHOC"] }),
...
*[View full release notes]*
*Released by [github-actions[bot]](https://github.com/github-actions[bot]) on 2/1/2026*
### [`v0.4.26`](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases/tag/v0.4.26)
[Compare Source](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.19...v0.5.0)
- Revert changes to fix [#93](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/93) (fixes [#95](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/95))
*Released by [github-actions[bot]](https://github.com/github-actions[bot]) on 12/16/2025*
### [`v0.4.25`](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases/tag/v0.4.25)
[Compare Source](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.19...v0.5.0)
- Report cases like `export const ENUM = Object.keys(TABLE) as EnumType[];` (fixes [#93](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/93))
- Allow `_` in component names ([#94](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/pull/94))
*Released by [github-actions[bot]](https://github.com/github-actions[bot]) on 12/14/2025*
</details>
---
### �� Package Statistics
- **eslint-plugin-react-refresh**: 9,852,728 weekly downloads
---
### Configuration
�� **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
�� **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
�� **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Buddy](https://github.com/stacksjs/buddy-bot) 🤖