Skip to content

Bump eslint-plugin-react-refresh from 0.4.26 to 0.5.7 in /frontend - #4

Merged
Power-Howdy merged 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/eslint-plugin-react-refresh-0.5.7
Oct 9, 2026
Merged

Power-Howdy merged 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/eslint-plugin-react-refresh-0.5.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 8, 2026 •

Copy link
Copy Markdown

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

Release notes

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

v0.5.7

Add allowCompoundComponents option (#117)

Default: false (true in vite config)

Don't warn when components are exported as an object gathering them. Every member of the object must be a component, and a member holding an anonymous function requires a component name as key.

This should be enabled if the fast refresh implementation correctly handles this case. Vite supports it since @vitejs/plugin-react 4.7.0, @vitejs/plugin-react-swc 3.11.0.

{
  "react-refresh/only-export-components": [
    "error",
    { "allowCompoundComponents": true }
  ]
}

Enabling this option allows code such as the following:

const Root = () => <></>;
const Label = () => <></>;
export const Tag = { Root, Label };

v0.5.6

  • Support re-exporting namespace components (fixes #116)

v0.5.5

  • Fix SCREAMING_SNAKE_CASE constant exported via export { Name } incorrectly treated as React component #114 (fixes #113)
  • Add contentType and size to allowExportNames in Next config #115

v0.5.4

  • Add instant to allowExportNames in Next config #112

v0.5.3

  • Fix check for non component class exported via export { } #110 (fixes #109)

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

... (truncated)

Changelog

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

0.5.7

Add allowCompoundComponents option (#117)

Default: false (true in vite config)

Don't warn when components are exported as an object gathering them. Every member of the object must be a component, and a member holding an anonymous function requires a component name as key.

This should be enabled if the fast refresh implementation correctly handles this case. Vite supports it since @vitejs/plugin-react 4.7.0, @vitejs/plugin-react-swc 3.11.0.

{
  "react-refresh/only-export-components": [
    "error",
    { "allowCompoundComponents": true }
  ]
}

Enabling this option allows code such as the following:

const Root = () => <></>;
const Label = () => <></>;
export const Tag = { Root, Label };

0.5.6

  • Support re-exporting namespace components (fixes #116)

0.5.5

  • Fix SCREAMING_SNAKE_CASE constant exported via export { Name } incorrectly treated as React component #114 (fixes #113)
  • Add contentType and size to allowExportNames in Next config #115

0.5.4

  • Add instant to allowExportNames in Next config #112

0.5.3

  • Fix check for non component class exported via export { } #110 (fixes #109)

0.5.2

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

0.5.1

... (truncated)

Commits
  • fd40d83 Add allowCompoundComponents option [publish] (#117)
  • 620568a Support re-exporting namespace components (fixes #116) [publish]
  • 65c3172 [publish] v0.5.5
  • 8411020 Bump deps
  • c28fa15 Fix SCREAMING_SNAKE_CASE constant exported via export { Name } incorrectly ...
  • 554c764 [publish] add contentType and size to allowExportNames in Next config (#115)
  • e316617 [publish] Add instant to allowExportNames in Next config (#112)
  • 00818e9 v0.5.3 [publish]
  • 202fc4a Fix PascalCase class exported via export { Name } incorrectly treated as Re...
  • c0317bf Fix support for nested function calls for extraHOCs [publish]
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 8, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/frontend/eslint-plugin-react-refresh-0.5.7 branch from 8ac1b6e to 501b82f Compare October 9, 2026 11:30
react-refresh 0.5 needs ESLint 9+, which also needs eslint-plugin-react-hooks 7.
Adds eslint.config.js (flat config); there was no ESLint config before, so lint could not run.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Power-Howdy
Power-Howdy force-pushed the dependabot/npm_and_yarn/frontend/eslint-plugin-react-refresh-0.5.7 branch from 501b82f to a5037ab Compare October 9, 2026 11:32
@Power-Howdy
Power-Howdy merged commit 280c579 into main Oct 9, 2026
2 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/frontend/eslint-plugin-react-refresh-0.5.7 branch October 9, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant