Explorar o código

fix: 保持预设配置和文档一致,不用再手动设置

https://doc.iocoder.cn/vue3/format/#_1-%E5%A6%82%E4%BD%95%E5%BC%80%E5%90%AF
rohit hai 10 meses
pai
achega
841083b11c
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      .vscode/settings.json

+ 2 - 1
.vscode/settings.json

@@ -86,8 +86,9 @@
     "source.fixAll.eslint": "explicit",
     "source.fixAll.stylelint": "explicit"
   },
+  "editor.formatOnSave": true,
   "[vue]": {
-    "editor.defaultFormatter": "Vue.volar"
+    "editor.defaultFormatter": "esbenp.prettier-vscode"
   },
   "i18n-ally.localesPaths": ["src/locales"],
   "i18n-ally.keystyle": "nested",