chore(deps-dev): bump eslint-config-next from 15.5.15 to 16.2.6#305
chore(deps-dev): bump eslint-config-next from 15.5.15 to 16.2.6#305dependabot[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryThis Dependabot PR bumps
Confidence Score: 3/5Not safe to merge as-is due to a major version mismatch between A single P1 finding (cross-major package mismatch) that directly affects linting correctness; no P0 issues present
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["next lint / CI"] --> B["eslint-config-next@16.2.4\n(@next/eslint-plugin-next@16.2.4)"]
A --> C["next@15.5.15 runtime"]
B -- "enforces Next.js 16 rules" --> D{{"Version mismatch ⚠️"}}
C -- "Next.js 15 project" --> D
D --> E["Potential false positives\nor missed warnings"]
Prompt To Fix All With AIThis is a comment left during a code review.
Path: apps/web/package.json
Line: 36
Comment:
**Major version mismatch between `eslint-config-next` and `next`**
`eslint-config-next` is being bumped to `16.2.4` while `next` remains at `^15.2.0` (resolved to `15.5.15` in the lockfile). Historically these packages are versioned and released together; the ESLint plugin rules bundled in `@next/eslint-plugin-next@16.2.4` may enforce or assume Next.js 16 project conventions (e.g. new App Router APIs, metadata, middleware shapes), which can produce false positives or suppress valid warnings on a Next.js 15 project. The recommended practice is to keep `eslint-config-next` on the same major as `next`.
```suggestion
"eslint-config-next": "^15.2.0",
```
How can I resolve this? If you propose a fix, please make it concise.Reviews (1): Last reviewed commit: "chore(deps-dev): bump eslint-config-next..." | Re-trigger Greptile |
| "autoprefixer": "^10.4.21", | ||
| "eslint": "^9", | ||
| "eslint-config-next": "^15.2.0", | ||
| "eslint-config-next": "^16.2.4", |
There was a problem hiding this comment.
Major version mismatch between
eslint-config-next and next
eslint-config-next is being bumped to 16.2.4 while next remains at ^15.2.0 (resolved to 15.5.15 in the lockfile). Historically these packages are versioned and released together; the ESLint plugin rules bundled in @next/eslint-plugin-next@16.2.4 may enforce or assume Next.js 16 project conventions (e.g. new App Router APIs, metadata, middleware shapes), which can produce false positives or suppress valid warnings on a Next.js 15 project. The recommended practice is to keep eslint-config-next on the same major as next.
| "eslint-config-next": "^16.2.4", | |
| "eslint-config-next": "^15.2.0", |
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/web/package.json
Line: 36
Comment:
**Major version mismatch between `eslint-config-next` and `next`**
`eslint-config-next` is being bumped to `16.2.4` while `next` remains at `^15.2.0` (resolved to `15.5.15` in the lockfile). Historically these packages are versioned and released together; the ESLint plugin rules bundled in `@next/eslint-plugin-next@16.2.4` may enforce or assume Next.js 16 project conventions (e.g. new App Router APIs, metadata, middleware shapes), which can produce false positives or suppress valid warnings on a Next.js 15 project. The recommended practice is to keep `eslint-config-next` on the same major as `next`.
```suggestion
"eslint-config-next": "^15.2.0",
```
How can I resolve this? If you propose a fix, please make it concise.c323854 to
c5056b5
Compare
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 15.5.15 to 16.2.6. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/commits/v16.2.6/packages/eslint-config-next) --- updated-dependencies: - dependency-name: eslint-config-next dependency-version: 16.2.4 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
c5056b5 to
e2799a8
Compare
Bumps eslint-config-next from 15.5.15 to 16.2.6.
Release notes
Sourced from eslint-config-next's releases.
... (truncated)
Commits
ee6e79bv16.2.6766148fv16.2.52275bd8v16.2.4d5f649bv16.2.352faae3v16.2.2ed7d2cev16.2.1c5c94dfv16.2.03683192v16.2.0-canary.1046689814v16.2.0-canary.103ad66dbcv16.2.0-canary.102Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for eslint-config-next since your current version.