Przeglądaj źródła

OCPBUGS-65887: Add auto format on save for vscode

logonoff 10 miesięcy temu
rodzic
commit
13acfdbe0e
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      .vscode/settings.json

+ 5 - 0
.vscode/settings.json

@@ -1,5 +1,10 @@
 {
   "typescript.tsdk": "./node_modules/typescript/lib",
+  "editor.formatOnSave": false,
+  "editor.codeActionsOnSave": {
+    "source.fixAll.eslint": "explicit",
+    "source.fixAll.ts": "explicit"
+  },
   "search.exclude": {
     "**/node_modules": true
   },