Skip to content

Commit 23dd9c1

Browse files
committed
eslint-v8 and eslint 9 is default
1 parent 3eb3494 commit 23dd9c1

21 files changed

+42
-42
lines changed

test/unit/eslint-plugin-next/google-font-display.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { RuleTester as ESLintTesterV8 } from 'eslint'
2-
import { RuleTester as ESLintTesterV9 } from 'eslint-v9'
1+
import { RuleTester as ESLintTesterV8 } from 'eslint-v8'
2+
import { RuleTester as ESLintTesterV9 } from 'eslint'
33
import { rules } from '@next/eslint-plugin-next'
44

55
const NextESLintRule = rules['google-font-display']

test/unit/eslint-plugin-next/google-font-preconnect.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { RuleTester as ESLintTesterV8 } from 'eslint'
2-
import { RuleTester as ESLintTesterV9 } from 'eslint-v9'
1+
import { RuleTester as ESLintTesterV8 } from 'eslint-v8'
2+
import { RuleTester as ESLintTesterV9 } from 'eslint'
33
import { rules } from '@next/eslint-plugin-next'
44

55
const NextESLintRule = rules['google-font-preconnect']

test/unit/eslint-plugin-next/inline-script-id.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { RuleTester as ESLintTesterV8 } from 'eslint'
2-
import { RuleTester as ESLintTesterV9 } from 'eslint-v9'
1+
import { RuleTester as ESLintTesterV8 } from 'eslint-v8'
2+
import { RuleTester as ESLintTesterV9 } from 'eslint'
33
import { rules } from '@next/eslint-plugin-next'
44

55
const NextESLintRule = rules['inline-script-id']

test/unit/eslint-plugin-next/next-script-for-ga.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { RuleTester as ESLintTesterV8 } from 'eslint'
2-
import { RuleTester as ESLintTesterV9 } from 'eslint-v9'
1+
import { RuleTester as ESLintTesterV8 } from 'eslint-v8'
2+
import { RuleTester as ESLintTesterV9 } from 'eslint'
33
import { rules } from '@next/eslint-plugin-next'
44

55
const NextESLintRule = rules['next-script-for-ga']

test/unit/eslint-plugin-next/no-assign-module-variable.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { RuleTester as ESLintTesterV8 } from 'eslint'
2-
import { RuleTester as ESLintTesterV9 } from 'eslint-v9'
1+
import { RuleTester as ESLintTesterV8 } from 'eslint-v8'
2+
import { RuleTester as ESLintTesterV9 } from 'eslint'
33
import { rules } from '@next/eslint-plugin-next'
44

55
const NextESLintRule = rules['no-assign-module-variable']

test/unit/eslint-plugin-next/no-async-client-component.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { RuleTester as ESLintTesterV8 } from 'eslint'
2-
import { RuleTester as ESLintTesterV9 } from 'eslint-v9'
1+
import { RuleTester as ESLintTesterV8 } from 'eslint-v8'
2+
import { RuleTester as ESLintTesterV9 } from 'eslint'
33
import { rules } from '@next/eslint-plugin-next'
44

55
const NextESLintRule = rules['no-async-client-component']

test/unit/eslint-plugin-next/no-before-interactive-script-outside-document.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { RuleTester as ESLintTesterV8 } from 'eslint'
2-
import { RuleTester as ESLintTesterV9 } from 'eslint-v9'
1+
import { RuleTester as ESLintTesterV8 } from 'eslint-v8'
2+
import { RuleTester as ESLintTesterV9 } from 'eslint'
33
import { rules } from '@next/eslint-plugin-next'
44

55
const NextESLintRule = rules['no-before-interactive-script-outside-document']

test/unit/eslint-plugin-next/no-css-tags.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { RuleTester as ESLintTesterV8 } from 'eslint'
2-
import { RuleTester as ESLintTesterV9 } from 'eslint-v9'
1+
import { RuleTester as ESLintTesterV8 } from 'eslint-v8'
2+
import { RuleTester as ESLintTesterV9 } from 'eslint'
33
import { rules } from '@next/eslint-plugin-next'
44

55
const NextESLintRule = rules['no-css-tags']

test/unit/eslint-plugin-next/no-document-import-in-page.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { RuleTester as ESLintTesterV8 } from 'eslint'
2-
import { RuleTester as ESLintTesterV9 } from 'eslint-v9'
1+
import { RuleTester as ESLintTesterV8 } from 'eslint-v8'
2+
import { RuleTester as ESLintTesterV9 } from 'eslint'
33
import { rules } from '@next/eslint-plugin-next'
44

55
const NextESLintRule = rules['no-document-import-in-page']

test/unit/eslint-plugin-next/no-duplicate-head.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { RuleTester as ESLintTesterV8 } from 'eslint'
2-
import { RuleTester as ESLintTesterV9 } from 'eslint-v9'
1+
import { RuleTester as ESLintTesterV8 } from 'eslint-v8'
2+
import { RuleTester as ESLintTesterV9 } from 'eslint'
33
import { rules } from '@next/eslint-plugin-next'
44

55
const NextESLintRule = rules['no-duplicate-head']

0 commit comments

Comments
 (0)