visual studio code 代码保存自动格式化

{
"window.zoomLevel": 0,
"editor.tabSize": 2,
"explorer.confirmDelete": false,
"liveServer.settings.donotShowInfoMsg": true,
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "html",
"autoFix": true
},
{
"language": "vue",
"autoFix": true
}
],
"editor.fontFamily": "Fira Code",
"editor.fontSize": 14,
"editor.fontWeight": "200",
"editor.cursorBlinking": "smooth",
"gitlens.gitCommands.closeOnFocusOut": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}

你可能感兴趣的:(visual studio code 代码保存自动格式化)