From 65fe3d882d714d3e184be93c95ed4610bf2048b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 1 May 2023 22:22:45 +0200 Subject: [PATCH] build: fix sonarlint settings MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .vscode/extensions.json | 1 + .vscode/settings.json | 6 +++++- ...ility-charging-stations-simulator.code-workspace | 13 +------------ ui/web/.vscode/extensions.json | 1 + ui/web/.vscode/settings.json | 6 +++++- 5 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 7caf68c6..2243f8cc 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -8,6 +8,7 @@ "EditorConfig.EditorConfig", "hbenl.vscode-mocha-test-adapter", "ms-azuretools.vscode-docker", + "sonarsource.sonarlint-vscode", "streetsidesoftware.code-spell-checker" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index ff191d38..69b8e909 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -34,5 +34,9 @@ "robohydra", "sonarlint", "tsdoc" - ] + ], + "sonarlint.connectedMode.project": { + "connectionId": "sap-1", + "projectKey": "e-mobility-charging-stations-simulator" + } } diff --git a/e-mobility-charging-stations-simulator.code-workspace b/e-mobility-charging-stations-simulator.code-workspace index cb8f650b..6aca5a27 100644 --- a/e-mobility-charging-stations-simulator.code-workspace +++ b/e-mobility-charging-stations-simulator.code-workspace @@ -6,16 +6,5 @@ { "path": "ui/web" } - ], - "extensions": { - "recommendations": [ - "sonarsource.sonarlint-vscode" - ] - }, - "settings": { - "sonarlint.connectedMode.project": { - "connectionId": "sap-1", - "projectKey": "SAP_e-mobility-charging-stations-simulator" - } - } + ] } diff --git a/ui/web/.vscode/extensions.json b/ui/web/.vscode/extensions.json index 14a77638..04b2618f 100644 --- a/ui/web/.vscode/extensions.json +++ b/ui/web/.vscode/extensions.json @@ -6,6 +6,7 @@ "dbaeumer.vscode-eslint", "eamodio.gitlens", "EditorConfig.EditorConfig", + "sonarsource.sonarlint-vscode", "streetsidesoftware.code-spell-checker", "Vue.volar" ] diff --git a/ui/web/.vscode/settings.json b/ui/web/.vscode/settings.json index 291c11c1..fa6fff14 100644 --- a/ui/web/.vscode/settings.json +++ b/ui/web/.vscode/settings.json @@ -15,5 +15,9 @@ "preinstall", "RFID", "webui" - ] + ], + "sonarlint.connectedMode.project": { + "connectionId": "sap-1", + "projectKey": "e-mobility-charging-stations-simulator-webui" + } } -- 2.34.1