feat(vscode): 更新设置以格式化修改部分并添加i18n-ally语言路径
All checks were successful
/ build-and-deploy-to-vercel (push) Successful in 1m44s
/ playwright (push) Successful in 2m36s
/ depcheck (push) Successful in 1m37s

This commit is contained in:
严浩
2024-11-15 11:35:04 +08:00
parent 6b5d34d183
commit b597d71eac

View File

@ -3,15 +3,17 @@
"source.fixAll": "explicit"
},
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications", // 只格式化修改的部分
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]":{
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.preferences.autoImportFileExcludePatterns": ["vue-router/auto$"]
"typescript.preferences.autoImportFileExcludePatterns": ["vue-router/auto$"],
"i18n-ally.localesPaths": ["src/locales"]
}