Skip to content

Upgrade to Next.js 16 and ESLint 9 to resolve eslint-config-next peer dependency conflict#16

Closed
Copilot wants to merge 1 commit intodependabot/npm_and_yarn/multi-9caca4a243from
copilot/sub-pr-14-again
Closed

Upgrade to Next.js 16 and ESLint 9 to resolve eslint-config-next peer dependency conflict#16
Copilot wants to merge 1 commit intodependabot/npm_and_yarn/multi-9caca4a243from
copilot/sub-pr-14-again

Conversation

Copy link

Copilot AI commented Dec 12, 2025

Dependabot's bump of eslint-config-next to 16.0.10 caused deployment failures due to unmet peer dependencies (eslint@>=9.0.0 and next@16.x).

Changes

  • Upgraded Next.js: 14.2.2416.0.10
  • Upgraded ESLint: ^8^9
  • Migrated to ESLint v9 flat config: Created eslint.config.mjs, removed deprecated .eslintrc.json
  • Updated lint script: next linteslint . (Next.js 16 removed the built-in lint command)

Config Migration

Before (.eslintrc.json):

{
  "extends": "next/core-web-vitals"
}

After (eslint.config.mjs):

import eslintConfigNext from 'eslint-config-next';

export default eslintConfigNext;

The flat config is required in ESLint v9 where .eslintrc.* files are deprecated.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel
Copy link

vercel bot commented Dec 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
dayif-portfolio Error Error Dec 12, 2025 9:17am

@dependabot dependabot bot deleted the branch dependabot/npm_and_yarn/multi-9caca4a243 December 12, 2025 09:24
@dependabot dependabot bot closed this Dec 12, 2025
Copy link
Author

Copilot AI commented Dec 12, 2025

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • fonts.googleapis.com
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/dayif-portfolio/dayif-portfolio/node_modules/.bin/next build (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Bump glob and eslint-config-next dependencies Upgrade to Next.js 16 and ESLint 9 to resolve eslint-config-next peer dependency conflict Dec 12, 2025
Copilot AI requested a review from Dayifour December 12, 2025 09:27
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.

2 participants