Skip to content

Bump eslint-plugin-react-refresh from 0.4.26 to 0.5.2 in /frontend - #39

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/eslint-plugin-react-refresh-0.5.2
Open

Bump eslint-plugin-react-refresh from 0.4.26 to 0.5.2 in /frontend#39
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/eslint-plugin-react-refresh-0.5.2

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubMay 19, 2026

Copy link
Copy Markdown

Bumps eslint-plugin-react-refresh from 0.4.26 to 0.5.2.

Release notes

Sourced from eslint-plugin-react-refresh's releases.

v0.5.2

  • Support nested function calls for extraHOCs (actually fixes #104)

v0.5.1

  • Mark ESLint v10 as supported
  • Support false positives with TypeScript function overloading (fixes #105)
  • Support nested function calls for extraHOCs (fixes #104)

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 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 (like connect or styled)

Config example:

import{defineConfig}from"eslint/config";import{reactRefresh}from"eslint-plugin-react-refresh";exportdefaultdefineConfig(/* Main config */reactRefresh.configs.vite({extraHOCs: ["someLibHOC"]}),);

Config example without config:

import{defineConfig}from"eslint/config";import{reactRefresh}from"eslint-plugin-react-refresh";exportdefaultdefineConfig({files: ["/*.ts","/*.tsx"],plugins: {// other plugins"react-refresh": reactRefresh.plugin,},rules: {// other rules"react-refresh/only-export-components": ["warn",{extraHOCs: ["someLibHOC"]},],},});</tr></table>

... (truncated)

Changelog

Sourced from eslint-plugin-react-refresh's changelog.

0.5.2

  • Support nested function calls for extraHOCs (actually fixes #104)

0.5.1

  • Mark ESLint v10 as supported
  • Support false positives with TypeScript function overloading (fixes #105)
  • Support nested function calls for extraHOCs (fixes #104)

0.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 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";exportdefaultdefineConfig(/* Main config */reactRefresh.configs.vite({extraHOCs: ["someLibHOC"]}),);

Config example without config:

import{defineConfig}from"eslint/config";import{reactRefresh}from"eslint-plugin-react-refresh";exportdefaultdefineConfig({files: ["/*.ts","/*.tsx"],plugins: {// other plugins"react-refresh": reactRefresh.plugin,},rules: {// other rules"react-refresh/only-export-components": ["warn",{extraHOCs: ["someLibHOC"]},</tr></table>

... (truncated)

Commits
  • c0317bf Fix support for nested function calls for extraHOCs [publish]
  • 42a1805 Explicit v10 support (fixes #106) [publish]
  • 199793e Support nested function calls for extraHOCs (fixes #104)
  • 26b3c15 Support false positives with TypeScript function overloading (fixes #105)
  • daa2efb Revamp logic to catch more cases [publish] (#97)
  • See full diff in compare view

@dependabotdependabotBot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 19, 2026
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 26112681526

Coverage remained the same at 79.893%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines:1224
Covered Lines:1084
Line Coverage:88.56%
Relevant Branches:1382
Covered Branches:998
Branch Coverage:72.21%
Branches in Coverage %:Yes
Coverage Strength:37.44 hits per line

💛 - Coveralls

@dependabot
dependabotBotforce-pushed the dependabot/npm_and_yarn/frontend/eslint-plugin-react-refresh-0.5.2 branch from f6404ba to 3504dd9CompareMay 28, 2026 15:43
Bumps [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) from 0.4.26 to 0.5.2.
- [Release notes](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases)
- [Changelog](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md)
- [Commits](ArnaudBarre/eslint-plugin-react-refresh@v0.4.26...v0.5.2)
---
updated-dependencies:
- dependency-name: eslint-plugin-react-refresh
dependency-version: 0.5.2
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabotBotforce-pushed the dependabot/npm_and_yarn/frontend/eslint-plugin-react-refresh-0.5.2 branch from 3504dd9 to 26c1eceCompareMay 28, 2026 22:22
@sonarqubecloud

Copy link
Copy Markdown

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filejavascriptPull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@coveralls