ReviewOS

also looking at this

stacks/raycast

chore(deps): update dependency eslint-plugin-react-refresh to 0.5.0

#374
Closed chris wants to merge buddy-bot/update-major-update---eslint-plugin-react-refresh-1770635736807 into main
1 file +1 -1
9 days ago

This PR contains the following updates:

npm

PackageChangeAgeAdoptionPassingConfidence
eslint-plugin-react-refresh (source)0.4.19 -> 0.5.0ageadoptionpassingconfidence

Release Notes

ArnaudBarre/eslint-plugin-react-refresh (eslint-plugin-react-refresh)

0.4.19 -> 0.5.0

v0.5.0

Compare Source

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 reactRefresh export is available and prefered over the default export. It's an object with two properties:
    • plugin: The plugin object with the rules
    • configs: 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.
  • customHOCs option was renamed to extraHOCs
  • Validation of HOCs calls is now more strict, you may need to add some HOCs to the extraHOCs option

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) 🤖

1 changed file on the files tab, with 0 review threads.

Sign in to comment on this pull request.