chore: editor config

This commit is contained in:
ChenZhaoYu 2023-02-11 08:17:48 +08:00
parent ad41dd21c6
commit 6aa2591d9c
2 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,3 @@
{
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
"recommendations": ["Vue.volar", "dbaeumer.vscode-eslint"]
}

15
.vscode/settings.json vendored
View File

@ -1,8 +1,21 @@
{
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"json",
"jsonc",
"json5",
"yaml",
"yml",
"markdown"
],
"cSpell.words": [
"antfu",
"axios",