VS code 代码自动格式化1
1 { 2 "eslint.alwaysShowStatus": true, 3 "eslint.autoFixOnSave": true, 4 "diffEditor.ignoreTrimWhitespace": false, 5 "editor.tabSize": 2, 6 "files.associations": { 7 "*.vue": "vue" 8 }, 9 "eslint.validate": [ 10 "javascript", 11 { 12 "language":"vue", 13 "autoFix":true 14 }, 15 "javascriptreact", 16 "html", 17 "vue" 18 ] 19 } 20 21 22