chore: editor config

main
ChenZhaoYu 2 years ago
parent ad41dd21c6
commit 6aa2591d9c

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

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

Loading…
Cancel
Save