-
Notifications
You must be signed in to change notification settings - Fork 15
chore(deps-dev): bump eslint-plugin-react-refresh from 0.4.20 to 0.5.2 #918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -107,7 +107,7 @@ | |
| "eslint": "^8.56.0", | ||
| "eslint-plugin-jsx-a11y": "^6.10.2", | ||
| "eslint-plugin-react-hooks": "^5.2.0", | ||
| "eslint-plugin-react-refresh": "^0.4.14", | ||
| "eslint-plugin-react-refresh": "^0.5.2", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ESLint 8 incompatible with react-refresh 0.5.x peer requirementHigh Severity
Additional Locations (2) |
||
| "jsdom": "^27.1.0", | ||
| "next": "15.3.6", | ||
| "react": "^19.0.0", | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default import removed in v0.5 breaks ESLint config
High Severity
The bump to
eslint-plugin-react-refresh@^0.5.2removes the default export from the package. The existingexamples/guide-example/eslint.config.jsusesimport reactRefresh from 'eslint-plugin-react-refresh'(a default import) and passes it directly as a plugin via'react-refresh': reactRefresh. In v0.5.x, this default import returnsundefined, causing an "Expected an object" error at lint time. The import needs to change to the named export (import { reactRefresh }) and the plugin reference needs to usereactRefresh.plugin.