diff --git a/apps/extension/eslint.config.js b/apps/extension/eslint.config.js index e5ee8f46..cf544a78 100644 --- a/apps/extension/eslint.config.js +++ b/apps/extension/eslint.config.js @@ -1,6 +1,6 @@ import svelte, { webextensions } from '@yd/config/eslint/svelte'; -/** @type {import('eslint').Linter.FlatConfig[]} */ +/** @type {import('eslint').Linter.Config[]} */ export default [ { ignores: ['.wxt/', '.output/'] diff --git a/apps/web/eslint.config.js b/apps/web/eslint.config.js index 93c09682..a842bdb2 100644 --- a/apps/web/eslint.config.js +++ b/apps/web/eslint.config.js @@ -1,6 +1,6 @@ import svelte from '@yd/config/eslint/svelte'; -/** @type {import('eslint').Linter.FlatConfig[]} */ +/** @type {import('eslint').Linter.Config[]} */ export default [ { ignores: ['build/', '.svelte-kit/'] diff --git a/packages/client/eslint.config.js b/packages/client/eslint.config.js index 46a8e125..145810a4 100644 --- a/packages/client/eslint.config.js +++ b/packages/client/eslint.config.js @@ -1,6 +1,6 @@ import typescript from '@yd/config/eslint/typescript'; -/** @type {import('eslint').Linter.FlatConfig} */ +/** @type {import('eslint').Linter.Config} */ export default [ { ignores: ['dist/**/*', 'src/generated/**/*'] diff --git a/packages/config/eslint.config.js b/packages/config/eslint.config.js index d1c3f1f4..ec75b756 100644 --- a/packages/config/eslint.config.js +++ b/packages/config/eslint.config.js @@ -1,4 +1,4 @@ import config from './eslint/typescript.js'; -/** @type {import('eslint').Linter.FlatConfig[]} */ +/** @type {import('eslint').Linter.Config[]} */ export default config; diff --git a/packages/config/eslint/svelte.js b/packages/config/eslint/svelte.js index fa992495..5363ed91 100644 --- a/packages/config/eslint/svelte.js +++ b/packages/config/eslint/svelte.js @@ -5,7 +5,7 @@ import tseslint from 'typescript-eslint'; import eslintTypeScript from './typescript.js'; -/** @type {import('eslint').Linter.FlatConfig[]} */ +/** @type {import('eslint').Linter.Config[]} */ export default tseslint.config( ...eslintTypeScript, ...eslintPluginSvelte.configs['flat/recommended'], diff --git a/packages/config/eslint/typescript.js b/packages/config/eslint/typescript.js index 41eabbd2..527bf891 100644 --- a/packages/config/eslint/typescript.js +++ b/packages/config/eslint/typescript.js @@ -3,7 +3,7 @@ import prettier from 'eslint-config-prettier'; import globals from 'globals'; import tseslint from 'typescript-eslint'; -/** @type {import('eslint').Linter.FlatConfig[]} */ +/** @type {import('eslint').Linter.Config[]} */ export default tseslint.config( { ignores: [ diff --git a/packages/ui/eslint.config.js b/packages/ui/eslint.config.js index 6fdb2e05..f7f46595 100644 --- a/packages/ui/eslint.config.js +++ b/packages/ui/eslint.config.js @@ -1,6 +1,6 @@ import svelte from '@yd/config/eslint/svelte'; -/** @type {import('eslint').Linter.FlatConfig[]} */ +/** @type {import('eslint').Linter.Config[]} */ export default [ { ignores: ['dist/', '.svelte-kit/']