Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "^8.56.0",
"eslint-config-next": "^15.0.0",
"eslint-config-next": "^16.0.0",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 eslint-config-next v16 requires ESLint >=9.0.0 but project pins ESLint ^8.56.0

Upgrading eslint-config-next from ^15.0.0 to ^16.0.0 introduces an unmet peer dependency. All versions of eslint-config-next@16.x require eslint >= 9.0.0, but the project specifies "eslint": "^8.56.0" which resolves to 8.57.1 in the lockfile.

Peer dependency mismatch details

The npm info output confirms every eslint-config-next@16.x release declares { eslint: '>=9.0.0' } as a peer dependency. The project's package.json:28 specifies "eslint": "^8.56.0" and the lockfile confirms it resolves to 8.57.1.

This mismatch can cause:

  • pnpm install warnings or errors about unmet peer dependencies (depending on pnpm strictness settings)
  • Runtime lint failures or unexpected behavior since eslint-config-next@16 is designed for ESLint 9's flat config system, which is fundamentally different from ESLint 8's .eslintrc-based configuration
  • The project has no ESLint config files (no .eslintrc* or eslint.config.* found), so the actual linting setup may already be broken or unused at the root level

Impact: The lint script (turbo lint) may fail or produce incorrect results when eslint-config-next@16 is loaded with ESLint 8.

Prompt for agents
In package.json, the eslint-config-next dependency was bumped to ^16.0.0 which requires eslint >=9.0.0, but the eslint dependency on line 28 is still ^8.56.0. Either:
1. Revert eslint-config-next back to ^15.0.0 (line 29), OR
2. Upgrade eslint from ^8.56.0 to ^9.0.0 (line 28) AND migrate the ESLint configuration to ESLint 9's flat config format (eslint.config.js/eslint.config.mjs). Also check that all other eslint plugins and configs (eslint-config-standard, eslint-config-turbo, eslint-plugin-import, etc.) are compatible with ESLint 9.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

"eslint-config-prettier": "^10.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-config-turbo": "^2.0.0",
Expand Down
Loading
Loading