编辑器
VsCode
插件
- Chinese
- Vetur
- Eslint
- Prettier
编辑VsCode的setting.json
{
"editor.formatOnSave": true,
"eslint.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": [
"javascript",
"javascriptreact",
"vue-html",
"html",
"vue"
],
"editor.formatOnPaste": true,
"editor.formatOnType": true
}
如何保证git提交规范,待记录。