From: Jérôme Benoit Date: Mon, 1 May 2023 20:22:45 +0000 (+0200) Subject: build: fix sonarlint settings X-Git-Tag: v1.2.12~20 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=65fe3d882d714d3e184be93c95ed4610bf2048b9;p=e-mobility-charging-stations-simulator.git build: fix sonarlint settings Signed-off-by: Jérôme Benoit --- 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" + } }