chore: vscode setting

(cherry picked from commit 96db6ab538)
This commit is contained in:
xingyu 2023-10-25 10:35:10 +08:00 committed by shizhong
parent 1c86d00991
commit bdcdadfd20

View File

@ -1,5 +1,5 @@
{ {
"typescript.tsdk": "./node_modules/typescript/lib", "typescript.tsdk": "node_modules/typescript/lib",
"npm.packageManager": "pnpm", "npm.packageManager": "pnpm",
"editor.tabSize": 2, "editor.tabSize": 2,
"prettier.printWidth": 100, // "prettier.printWidth": 100, //
@ -86,15 +86,12 @@
"source.fixAll.eslint": true "source.fixAll.eslint": true
}, },
"[vue]": { "[vue]": {
"editor.codeActionsOnSave": { "editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true
}
}, },
"i18n-ally.localesPaths": ["src/locales"], "i18n-ally.localesPaths": ["src/locales"],
"i18n-ally.keystyle": "nested", "i18n-ally.keystyle": "nested",
"i18n-ally.sortKeys": true, "i18n-ally.sortKeys": true,
"i18n-ally.namespace": true, "i18n-ally.namespace": false,
"i18n-ally.enabledParsers": ["ts"], "i18n-ally.enabledParsers": ["ts"],
"i18n-ally.sourceLanguage": "en", "i18n-ally.sourceLanguage": "en",
"i18n-ally.displayLanguage": "zh-CN", "i18n-ally.displayLanguage": "zh-CN",