Skip to content

Commit 841083b

Browse files
authored
fix: 保持预设配置和文档一致,不用再手动设置
https://doc.iocoder.cn/vue3/format/#_1-%E5%A6%82%E4%BD%95%E5%BC%80%E5%90%AF
1 parent 2a936ec commit 841083b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@
8686
"source.fixAll.eslint": "explicit",
8787
"source.fixAll.stylelint": "explicit"
8888
},
89+
"editor.formatOnSave": true,
8990
"[vue]": {
90-
"editor.defaultFormatter": "Vue.volar"
91+
"editor.defaultFormatter": "esbenp.prettier-vscode"
9192
},
9293
"i18n-ally.localesPaths": ["src/locales"],
9394
"i18n-ally.keystyle": "nested",

0 commit comments

Comments
 (0)