Skip to content

Commit e9c8d14

Browse files
fix(deps): update dependency @next/eslint-plugin-next to v16 (#256)
2 parents 2892432 + 81dda71 commit e9c8d14

4 files changed

Lines changed: 10 additions & 8 deletions

File tree

‎.changeset/dependencies-GH-256.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tcd-devkit/eslint-config-next": patch
3+
---
4+
5+
fix(deps): update dependency @next/eslint-plugin-next to v16

‎bun.lock‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/eslint/eslint-config-next/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"test:watch": "vitest --watch"
6666
},
6767
"dependencies": {
68-
"@next/eslint-plugin-next": "15.5.6"
68+
"@next/eslint-plugin-next": "16.0.1"
6969
},
7070
"devDependencies": {
7171
"@tcd-devkit/internal-utils": "workspace:*",

‎packages/eslint/eslint-config-next/src/next.linter.ts‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
import nextPlugin from '@next/eslint-plugin-next';
2-
import type { Linter } from 'eslint';
1+
import { configs as nextPluginConfigs } from '@next/eslint-plugin-next';
32
import { defineConfig } from 'eslint/config';
43

5-
const { flatConfig: nextPluginConfigs } = nextPlugin;
6-
7-
const nextCoreWebVitals = nextPluginConfigs.coreWebVitals as Linter.Config;
4+
const nextCoreWebVitals = nextPluginConfigs['core-web-vitals'];
85

96
export const nextConfig = defineConfig({
107
name: '@tcd-devkit/eslint-config-next',

0 commit comments

Comments
 (0)