From 8570fe83a48640ceadcd64664ba5826783b7b705 Mon Sep 17 00:00:00 2001 From: Takashi Tamura Date: Tue, 22 Oct 2024 06:54:45 +0900 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! fixup! edit --- eslint.config.mjs | 12 +++++++----- tsconfig.eslint.json | 7 ------- tsconfig.eslint.viewer.json | 6 ------ 3 files changed, 7 insertions(+), 18 deletions(-) delete mode 100644 tsconfig.eslint.json delete mode 100644 tsconfig.eslint.viewer.json diff --git a/eslint.config.mjs b/eslint.config.mjs index 081c924c..ac7c85e3 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -111,11 +111,12 @@ export default tseslint.config( ...tseslint.configs.recommended, ...tseslint.configs.stylistic, { - ignores: ["viewer/**/*.ts"], languageOptions: { ecmaVersion: 2018, parserOptions: { - project: "./tsconfig.eslint.json", + projectService: { + defaultProject: "tsconfig.json", + }, tsconfigRootDir: import.meta.dirname }, }, @@ -143,12 +144,13 @@ export default tseslint.config( }, }, { - ignores: ["src/**/*.ts", "test/**/*.ts"], languageOptions: { ecmaVersion: 2018, parserOptions: { - project: "./tsconfig.eslint.viewer.json", - tsconfigRootDir: import.meta.dirname + projectService: { + defaultProject: "tsconfig.json", + }, + tsconfigRootDir: import.meta.dirname + "/viewer" }, }, rules: { diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json deleted file mode 100644 index 2845a74f..00000000 --- a/tsconfig.eslint.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "./tsconfig.json", - "include": [ - "src/**/*.ts", - "test/**/*.ts" - ] -} diff --git a/tsconfig.eslint.viewer.json b/tsconfig.eslint.viewer.json deleted file mode 100644 index 6be7c22d..00000000 --- a/tsconfig.eslint.viewer.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./viewer/tsconfig.json", - "include": [ - "viewer/**/*.ts" - ] -}