Skip to content

build(deps): upgrade ESLint to 9 + Next 16 lint stack#24

Merged
rumitvn merged 1 commit into
masterfrom
dependabot/npm_and_yarn/eslint-10.4.1
Jun 8, 2026
Merged

build(deps): upgrade ESLint to 9 + Next 16 lint stack#24
rumitvn merged 1 commit into
masterfrom
dependabot/npm_and_yarn/eslint-10.4.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor

Supersedes the plain Dependabot bump to ESLint 10. ESLint 10 is not yet supportable: no eslint-plugin-react release supports it (latest 7.37.5 peers eslint ^9.7, and eslint-config-next 16 bundles it), so v10 crashes on the removed context.getFilename(). Shipping ESLint 9 instead; Dependabot can re-propose 10 later.

  • eslint ^8.57.1 -> ^9.39.4 (off EOL 8)
  • eslint-config-next ^15.2.0 -> ^16.2.7 (match Next 16; native flat config)
  • add eslint.config.mjs (Next 16 removed next lint)
  • lint script: next lint -> eslint .

npm ci resolves; next build clean. npm run lint is now functional and surfaces 57 pre-existing findings (38 errors / 19 warnings) — follow-up cleanup, not in this PR.

@dependabot @github

dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/eslint-10.4.1 branch 2 times, most recently from 2a1cf05 to d55d96b Compare June 8, 2026 15:11
@rumitvn rumitvn force-pushed the dependabot/npm_and_yarn/eslint-10.4.1 branch from d55d96b to be8f3a7 Compare June 8, 2026 15:46
@rumitvn rumitvn changed the title Bump eslint from 8.57.1 to 10.4.1 build(deps): upgrade ESLint to 9 + Next 16 lint stack Jun 8, 2026
Dependabot proposed ESLint 10, but no eslint-plugin-react release supports
it yet (latest 7.37.5 still peers eslint ^9.7, and eslint-config-next 16
bundles it), so ESLint 10 crashes on `context.getFilename()` removed in v10.
Upgrade to the latest supported ESLint 9 instead; Dependabot can re-propose
10 once the ecosystem catches up.

- eslint ^8.57.1 -> ^9.39.4 (off EOL 8)
- eslint-config-next ^15.2.0 -> ^16.2.7 (match next 16; ships native flat config)
- add eslint.config.mjs (flat config; `next lint` was removed in Next 16)
- lint script: `next lint` -> `eslint .`

`npm ci` resolves and `next build` typechecks clean. `npm run lint` now runs
and surfaces 57 pre-existing findings (38 errors / 19 warnings) — tracked as
follow-up, not addressed here.
@rumitvn rumitvn force-pushed the dependabot/npm_and_yarn/eslint-10.4.1 branch from be8f3a7 to e0ace93 Compare June 8, 2026 15:49
@rumitvn rumitvn merged commit 763416c into master Jun 8, 2026
1 check passed
@rumitvn rumitvn deleted the dependabot/npm_and_yarn/eslint-10.4.1 branch June 8, 2026 15:51
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