From 40f6f1200797b8d53940c3a2c46f0dd1bca20d0c Mon Sep 17 00:00:00 2001 From: David Rouyer Date: Thu, 3 Oct 2024 10:27:16 +0200 Subject: [PATCH] chore: cleanup types --- apps/web/eslint.config.js | 2 +- packages/auth/eslint.config.js | 2 +- packages/database/eslint.config.js | 2 +- packages/kyaku/eslint.config.js | 2 +- packages/ui/eslint.config.js | 2 +- packages/workshop/eslint.config.js | 2 +- tooling/eslint/react.js | 2 +- tooling/eslint/tailwind.js | 2 +- tooling/tailwind/eslint.config.js | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/web/eslint.config.js b/apps/web/eslint.config.js index 28c4f424e..a7cb9bfd3 100644 --- a/apps/web/eslint.config.js +++ b/apps/web/eslint.config.js @@ -2,7 +2,7 @@ import baseConfig from '@kyaku/eslint-config/base'; import reactConfig from '@kyaku/eslint-config/react'; import tailwindConfig from '@kyaku/eslint-config/tailwind'; -/** @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigArray} */ +/** @type {import('typescript-eslint').Config} */ export default [ { ignores: [ diff --git a/packages/auth/eslint.config.js b/packages/auth/eslint.config.js index 313ed37ce..74ada25d9 100644 --- a/packages/auth/eslint.config.js +++ b/packages/auth/eslint.config.js @@ -1,4 +1,4 @@ import baseConfig from '@kyaku/eslint-config/base'; -/** @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigArray} */ +/** @type {import('typescript-eslint').Config} */ export default [...baseConfig]; diff --git a/packages/database/eslint.config.js b/packages/database/eslint.config.js index 313ed37ce..74ada25d9 100644 --- a/packages/database/eslint.config.js +++ b/packages/database/eslint.config.js @@ -1,4 +1,4 @@ import baseConfig from '@kyaku/eslint-config/base'; -/** @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigArray} */ +/** @type {import('typescript-eslint').Config} */ export default [...baseConfig]; diff --git a/packages/kyaku/eslint.config.js b/packages/kyaku/eslint.config.js index 313ed37ce..74ada25d9 100644 --- a/packages/kyaku/eslint.config.js +++ b/packages/kyaku/eslint.config.js @@ -1,4 +1,4 @@ import baseConfig from '@kyaku/eslint-config/base'; -/** @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigArray} */ +/** @type {import('typescript-eslint').Config} */ export default [...baseConfig]; diff --git a/packages/ui/eslint.config.js b/packages/ui/eslint.config.js index 313ed37ce..74ada25d9 100644 --- a/packages/ui/eslint.config.js +++ b/packages/ui/eslint.config.js @@ -1,4 +1,4 @@ import baseConfig from '@kyaku/eslint-config/base'; -/** @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigArray} */ +/** @type {import('typescript-eslint').Config} */ export default [...baseConfig]; diff --git a/packages/workshop/eslint.config.js b/packages/workshop/eslint.config.js index 5b4e087a7..397355562 100644 --- a/packages/workshop/eslint.config.js +++ b/packages/workshop/eslint.config.js @@ -1,7 +1,7 @@ import baseConfig from '@kyaku/eslint-config/base'; import storybook from 'eslint-plugin-storybook' -/** @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigArray} */ +/** @type {import('typescript-eslint').Config} */ export default [ ...baseConfig, { ignores: ['.storybook/**/*'], diff --git a/tooling/eslint/react.js b/tooling/eslint/react.js index db4c36ab9..4c5057fde 100644 --- a/tooling/eslint/react.js +++ b/tooling/eslint/react.js @@ -1,7 +1,7 @@ import reactPlugin from 'eslint-plugin-react'; import hooksPlugin from 'eslint-plugin-react-hooks'; -/** @type {import('eslint').Linter.FlatConfig[]} */ +/** @type {import('eslint').Linter.Config[]} */ export default [ { files: ['**/*.ts', '**/*.tsx'], diff --git a/tooling/eslint/tailwind.js b/tooling/eslint/tailwind.js index 698bd2d43..273b7b655 100644 --- a/tooling/eslint/tailwind.js +++ b/tooling/eslint/tailwind.js @@ -1,4 +1,4 @@ import eslintPluginTailwindCSS from 'eslint-plugin-tailwindcss'; -/** @type {import('eslint').Linter.FlatConfig[]} */ +/** @type {import('eslint').Linter.Config[]} */ export default [...eslintPluginTailwindCSS.configs['flat/recommended']]; diff --git a/tooling/tailwind/eslint.config.js b/tooling/tailwind/eslint.config.js index 313ed37ce..74ada25d9 100644 --- a/tooling/tailwind/eslint.config.js +++ b/tooling/tailwind/eslint.config.js @@ -1,4 +1,4 @@ import baseConfig from '@kyaku/eslint-config/base'; -/** @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigArray} */ +/** @type {import('typescript-eslint').Config} */ export default [...baseConfig];