build: refine vscode recommanded extensions list
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 13 Aug 2023 22:41:43 +0000 (00:41 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 13 Aug 2023 22:41:43 +0000 (00:41 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.lintstagedrc.js
.vscode/extensions.json

index a247d74dd636806f0d1692053b2f87922424c93b..3ee7fd306c0b1bdc93b3c719e399e516aa0de255 100644 (file)
@@ -4,5 +4,5 @@ module.exports = {
     'ts-standard --fix',
     'eslint --cache --fix'
   ],
-  '**/*.{json,md,yml,yaml}': ['rome format --write']
+  '!(.vscode/**)**/*.{json,md,yml,yaml}': ['rome format --write']
 }
index bd5fe69a7b4bc6df1d17c617f489f5cd34b7aabc..9447ed829701a22ec7e1d311b53d9a8776561f39 100644 (file)
@@ -2,9 +2,10 @@
   // See https://go.microsoft.com/fwlink/?LinkId=827846
   // for the documentation about the extensions.json format
   "recommendations": [
+    "EditorConfig.EditorConfig",
     "dbaeumer.vscode-eslint",
     "sonarsource.sonarlint-vscode",
-    "EditorConfig.EditorConfig",
+    "standard.vscode-standard",
     "streetsidesoftware.code-spell-checker"
   ]
 }