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 examples/nextjs-app-dir-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@eslint/eslintrc": "^3",
"@knocklabs/eslint-config": "workspace:^",
"@knocklabs/typescript-config": "workspace:^",
"@next/eslint-plugin-next": "^15.3.1",
"@next/eslint-plugin-next": "^16.2.6",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Major version mismatch between eslint plugin and Next.js

Medium Severity

@next/eslint-plugin-next is bumped to v16 while next is at 15.3.6 and eslint-config-next remains at 15.4.6. The eslint-config-next@15.4.6 already brings in its own @next/eslint-plugin-next@15.4.6, so in nextjs-app-dir-example there are now two conflicting major versions of the same plugin. The v16 plugin may enforce rules or expect patterns specific to Next.js 16 that don't apply to a v15 app, potentially causing spurious lint errors or missed checks.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 8544735. Configure here.

"@types/eslint": "^8.44.7",
"@types/node": "^24",
"@types/react": "^19.2.14",
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"devDependencies": {
"@knocklabs/eslint-config": "workspace:^",
"@knocklabs/typescript-config": "workspace:^",
"@next/eslint-plugin-next": "^15.3.1",
"@next/eslint-plugin-next": "^16.2.6",
"@types/eslint": "^8.44.7",
"@types/node": "^24",
"@types/react": "^19.2.14",
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5028,12 +5028,12 @@ __metadata:
languageName: node
linkType: hard

"@next/eslint-plugin-next@npm:^15.3.1":
version: 15.3.2
resolution: "@next/eslint-plugin-next@npm:15.3.2"
"@next/eslint-plugin-next@npm:^16.2.6":
version: 16.2.6
resolution: "@next/eslint-plugin-next@npm:16.2.6"
dependencies:
fast-glob: "npm:3.3.1"
checksum: 10c0/b03e512c275d33f4159522a66d4aa56f60dbf8f2dbfca6db9dcb5ce4c51ab701d8b28d719499d5728913b1ed71f76a93d770797670d04ca525ea318a32aa8fab
checksum: 10c0/2dc41d1f5c3b11f6f6d1c3d19e15f8930a86131fa8bcd796b383c32e3cc82337a54bb187e7400e4ab283aa10d6ca1015acd26189e4fc8ee8940c1879854a7418
languageName: node
linkType: hard

Expand Down Expand Up @@ -17179,7 +17179,7 @@ __metadata:
"@knocklabs/node": "npm:^1.30.0"
"@knocklabs/react": "workspace:*"
"@knocklabs/typescript-config": "workspace:^"
"@next/eslint-plugin-next": "npm:^15.3.1"
"@next/eslint-plugin-next": "npm:^16.2.6"
"@telegraph/button": "npm:>=0.6.0"
"@telegraph/combobox": "npm:>=0.2.7"
"@telegraph/icon": "npm:>=0.5.0"
Expand Down Expand Up @@ -17220,7 +17220,7 @@ __metadata:
"@knocklabs/node": "npm:^1.30.0"
"@knocklabs/react": "workspace:^"
"@knocklabs/typescript-config": "workspace:^"
"@next/eslint-plugin-next": "npm:^15.3.1"
"@next/eslint-plugin-next": "npm:^16.2.6"
"@telegraph/button": "npm:>=0.6.0"
"@telegraph/combobox": "npm:>=0.2.7"
"@telegraph/icon": "npm:>=0.5.0"
Expand Down
Loading