From d02af23b30d6cee405193b3a4da46d2df70c95c5 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Thu, 26 Jan 2023 14:26:21 +0100 Subject: [PATCH] Override eslint config for vscode workspace (#4566) --- .eslintrc.json | 2 +- clients.code-workspace | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index d48d901532..6bcea9dd04 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -7,7 +7,7 @@ "plugins": ["@typescript-eslint", "rxjs", "rxjs-angular", "import"], "parser": "@typescript-eslint/parser", "parserOptions": { - "project": ["**/tsconfig.eslint.json"], + "project": ["./tsconfig.eslint.json"], "sourceType": "module" }, "extends": [ diff --git a/clients.code-workspace b/clients.code-workspace index f9c7f0cc95..f834ca4c58 100644 --- a/clients.code-workspace +++ b/clients.code-workspace @@ -30,6 +30,13 @@ } ], "settings": { + "eslint.options": { + "overrideConfig": { + "parserOptions": { + "project": ["${workspaceFolder}/tsconfig.eslint.json"] + } + } + }, "debug.javascript.terminalOptions": { "sourceMapPathOverrides": { "webpack:///./~/*": "${workspaceFolder:root}/node_modules/*",