update settings.json
This commit is contained in:
parent
bbe37c04dc
commit
a541f48168
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
@ -7,6 +7,7 @@
|
|||||||
// 配置eslint适用于vue代码
|
// 配置eslint适用于vue代码
|
||||||
"eslint.validate": [
|
"eslint.validate": [
|
||||||
"javascript",
|
"javascript",
|
||||||
|
"typescript",
|
||||||
"vue"
|
"vue"
|
||||||
],
|
],
|
||||||
"[vue]": {
|
"[vue]": {
|
||||||
@ -15,6 +16,9 @@
|
|||||||
"[scss]": {
|
"[scss]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
},
|
},
|
||||||
|
"[ts]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
// 保存时 prettier 自动格式化
|
// 保存时 prettier 自动格式化
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
// 保存时自动启用 eslint --fix 自动修复
|
// 保存时自动启用 eslint --fix 自动修复
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user