build(projects): 升级依赖,添加对json的eslint检测及格式化

This commit is contained in:
Soybean
2022-07-14 00:02:00 +08:00
parent d9cfeabb47
commit 711a4ae34f
8 changed files with 847 additions and 845 deletions

View File

@ -9,6 +9,8 @@
"strings": true
},
"editor.tabSize": 2,
"eslint.alwaysShowStatus": true,
"eslint.validate": ["javascript", "javascriptreact", "vue", "typescript", "typescriptreact", "html", "json", "jsonc"],
"files.associations": {
"*.env.*": "dotenv"
},
@ -48,10 +50,10 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"