Browse Source

chore: add vscode config file (#411)

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/412/head
Ryan Wang 3 years ago committed by GitHub
parent
commit
af949264eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      .vscode/extensions.json
  2. 22
      .vscode/settings.json

8
.vscode/extensions.json vendored

@ -0,0 +1,8 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"editorconfig.editorconfig",
"johnsoncodehk.volar"
]
}

22
.vscode/settings.json vendored

@ -0,0 +1,22 @@
{
"eslint.validate": ["javascript", "typescript", "javascriptreact", "vue"],
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.tabSize": 2
}
Loading…
Cancel
Save