-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Update eslint 9.39.2 → 10.0.0 (major) #19673
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
base: main
Are you sure you want to change the base?
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 |
|---|---|---|
|
|
@@ -19,7 +19,7 @@ | |
| "@types/react": "^19.2.14", | ||
| "@types/react-dom": "^19.2.3", | ||
| "autoprefixer": "^10.4.24", | ||
| "eslint": "^9.39.2", | ||
| "eslint": "^10.0.0", | ||
|
Contributor
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. 🧩 Analysis chain🌐 Web query:
💡 Result: ESLint 10: key breaking changes (esp.
|
||
| "eslint-config-next": "^16.1.6", | ||
| "typescript": "^5.9.3" | ||
| } | ||
|
|
||
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.
🧩 Analysis chain
🏁 Script executed:
Repository: tailwindlabs/tailwindcss
Length of output: 928
🏁 Script executed:
Repository: tailwindlabs/tailwindcss
Length of output: 260
Migrate to flat config before upgrading ESLint to v10.
This playground uses a legacy
.eslintrc.jsonfile, which ESLint 10 no longer supports. Upgrading to^10.0.0will break thenext lintcommand. Convert the config toeslint.config.js(flat config format) before this upgrade.The current
.eslintrc.jsonextendsnext/core-web-vitalsand disables two React rules. Verify that the equivalent Next.js 16+ flat config integration supports this setup.🤖 Prompt for AI Agents