VSCode默认setting.json配置文件
作者:互联网
配置了Vue Eslint的自动保存,setting.json直接复制粘贴即可
{
"editor.tabSize": 2,
"files.associations": {
"*.vue": "vue"
},
"eslint.options": {
"extensions": [
".js",
".vue"
]
},
"eslint.validate": [
"javascript",
{
"language": "vue",
"autoFix": true
},
"html",
"vue"
],
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/dist": true
},
"emmet.syntaxProfiles": {
"javascript": "jsx",
"vue": "html",
"vue-html": "html"
},
"git.confirmSync": false,
"window.zoomLevel": 0,
"editor.renderWhitespace": "boundary",
"editor.cursorBlinking": "smooth",
"editor.minimap.enabled": true,
"editor.minimap.renderCharacters": false,
"window.title": "${dirty}${activeEditorMedium}${separator}${rootName}",
"editor.codeLens": true,
"editor.snippetSuggestions": "top",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
}
明月队长
发布了5 篇原创文章 · 获赞 0 · 访问量 7248
私信
关注
标签:minimap,vue,配置文件,VSCode,json,html,editor,true,eslint 来源: https://blog.csdn.net/jianzhang15/article/details/103953469