Skip to content

feat(react)!: update eslint react to 5.0#839

Draft
hyoban wants to merge 10 commits intoantfu:mainfrom
hyoban:4-3-react-v4
Draft

feat(react)!: update eslint react to 5.0#839
hyoban wants to merge 10 commits intoantfu:mainfrom
hyoban:4-3-react-v4

Conversation

@hyoban
Copy link
Copy Markdown
Contributor

@hyoban hyoban commented Apr 2, 2026

  • <- Keep this line and put an x between the brackts.

Description

https://www.eslint-react.xyz/docs/changelog#v421-2026-04-01

Linked Issues

fixes #838

Additional context

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 2, 2026

Deploy Preview for melodious-froyo-4871f8 ready!

Name Link
🔨 Latest commit 168e4fd
🔍 Latest deploy log https://app.netlify.com/projects/melodious-froyo-4871f8/deploys/69dcf97b9ace250008e5e089
😎 Deploy Preview https://deploy-preview-839--melodious-froyo-4871f8.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread pnpm-workspace.yaml Outdated
@zalishchuk
Copy link
Copy Markdown

The worst timing for another @eslint-react/eslint-plugin major release. Will another config major bump be necessary?

@zalishchuk zalishchuk mentioned this pull request Apr 3, 2026
7 tasks
@hyoban
Copy link
Copy Markdown
Contributor Author

hyoban commented Apr 3, 2026

I believe users won't have to make many adjustments; they mainly need to update their dependencies to the latest versions. Most of the rules are under the react plugin.

@zalishchuk
Copy link
Copy Markdown

Currently, the ensurePackages path installs v4 of eslint-react, which causes an error, so the mostly yes.

│
◇  Packages are required for this config: @eslint-react/eslint-plugin, eslint-plugin-react-refresh. Do you want to install them?
│  Yes
Packages: +19 -1
+++++++++++++++++++-
Progress: resolved 314, reused 314, downloaded 0, added 19, done
 WARN  Issues with peer dependencies found
.
└─┬ @antfu/eslint-config 8.0.0
  └── ✕ unmet peer @eslint-react/eslint-plugin@^3.0.0: found 4.2.3

devDependencies:
+ @eslint-react/eslint-plugin 4.2.3
+ eslint-plugin-react-refresh 0.5.2

Done in 1.8s using pnpm v10.33.0

Oops! Something went wrong! :(

ESLint: 10.1.0

ConfigError: Config "antfu/react/setup": Key "plugins": Key "react-dom": Expected an object

@teleskop150750
Copy link
Copy Markdown

update eslint react to 5.0 ?

@hyoban hyoban marked this pull request as draft April 7, 2026 03:23
@hyoban hyoban changed the title feat(react)!: update eslint react to 4.0 feat(react)!: update eslint react to 5.0 Apr 8, 2026
@zalishchuk
Copy link
Copy Markdown

@hyoban is this on hold until the stable v5 release?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

antfu/react/setup

4 participants