We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b090e8 commit 56a9728Copy full SHA for 56a9728
.changeset/fuzzy-worlds-stop.md
@@ -0,0 +1,5 @@
1
+---
2
+'@tcd-devkit/eslint-config-next': patch
3
4
+
5
+Fix an issue with NextJS ESLint config
packages/eslint/eslint-config-next/src/next.linter.ts
@@ -1,7 +1,7 @@
-import { configs as nextPluginConfigs } from '@next/eslint-plugin-next';
+import eslintPluginNext from '@next/eslint-plugin-next';
import { defineConfig } from 'eslint/config';
-const nextCoreWebVitals = nextPluginConfigs['core-web-vitals'];
+const nextCoreWebVitals = eslintPluginNext.configs['core-web-vitals'];
6
export const nextConfig = defineConfig({
7
name: '@tcd-devkit/eslint-config-next',
0 commit comments