From bdcdadfd203143f2d6844b3aedaf06684549e71d Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 25 Oct 2023 10:35:10 +0800 Subject: [PATCH] chore: vscode setting (cherry picked from commit 96db6ab53880f97585f163981f71d7143f0c8823) --- .vscode/settings.json | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 45156944..1d3f0aa8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,5 @@ { - "typescript.tsdk": "./node_modules/typescript/lib", + "typescript.tsdk": "node_modules/typescript/lib", "npm.packageManager": "pnpm", "editor.tabSize": 2, "prettier.printWidth": 100, // 超过最大值换行 @@ -86,15 +86,12 @@ "source.fixAll.eslint": true }, "[vue]": { - "editor.codeActionsOnSave": { - "source.fixAll.eslint": true, - "source.fixAll.stylelint": true - } + "editor.defaultFormatter": "rvest.vs-code-prettier-eslint" }, "i18n-ally.localesPaths": ["src/locales"], "i18n-ally.keystyle": "nested", "i18n-ally.sortKeys": true, - "i18n-ally.namespace": true, + "i18n-ally.namespace": false, "i18n-ally.enabledParsers": ["ts"], "i18n-ally.sourceLanguage": "en", "i18n-ally.displayLanguage": "zh-CN",