style(vscode): standardjs & prettier

This commit is contained in:
Ming Di Leom 2023-01-28 09:53:25 +00:00
parent cd1a1e2cf7
commit 5ab19a9d24
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
2 changed files with 22 additions and 1 deletions

1
.gitignore vendored
View File

@ -6,4 +6,3 @@ node_modules/
package-lock.json package-lock.json
public/ public/
.deploy*/ .deploy*/
.vscode/

22
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,22 @@
{
"editor.tabSize": 2,
"files.eol": "\n",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"standard.run": "onSave",
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}