插件
setting.json
"editor.formatOnType": true, //保存时自动格式化
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true // 替代的是 "eslint.autoFixOnSave": true
},
插件
setting.json
"editor.formatOnType": true, //保存时自动格式化
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true // 替代的是 "eslint.autoFixOnSave": true
},