From 1968ab85c6f8e3d129e31066c743e35d2d670bb8 Mon Sep 17 00:00:00 2001 From: EGJ-Moorington Date: Fri, 17 Jul 2026 17:25:15 +0200 Subject: [PATCH 1/2] Excluded `src/ui` from `/tsconfig.json` Excluded `src/ui` from `/tsconfig.json` so that the Angular Language Server only uses the intended `src/ui/tsconfig.json`. --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 883034c..40add58 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,5 +15,6 @@ "allowUnusedLabels": false, "types": ["jest", "node", "google-apps-script"] }, - "include": ["src/**/*", "test/**/*", "rollup.config.mjs"] + "include": ["src/**/*", "test/**/*", "rollup.config.mjs"], + "exclude": ["src/ui"] } From e664df82a00f82bbd0e73746d0caae1a6bd4e401 Mon Sep 17 00:00:00 2001 From: EGJ-Moorington Date: Mon, 20 Jul 2026 22:59:38 +0200 Subject: [PATCH 2/2] Fixed linting not working after excluding `src/ui` Fixed linting not working on files under `src/ui` after having excluded the directory from ./tsconfig.json, by including `./src/ui/tsconfig.app.json` as a project to use by `eslint`. --- eslint.config.cjs | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eslint.config.cjs b/eslint.config.cjs index 41eee18..c6ec6ee 100644 --- a/eslint.config.cjs +++ b/eslint.config.cjs @@ -42,7 +42,7 @@ module.exports = [ files: ['**/*.ts', '**/*.tsx'], languageOptions: { parserOptions: { - project: ['./tsconfig.json'], + project: ['./tsconfig.json', './src/ui/tsconfig.app.json'], }, }, }, diff --git a/tsconfig.json b/tsconfig.json index 40add58..cd8207e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,5 +16,5 @@ "types": ["jest", "node", "google-apps-script"] }, "include": ["src/**/*", "test/**/*", "rollup.config.mjs"], - "exclude": ["src/ui"] + "exclude": ["src/ui/**/*"] }