配置Vs-code
1、打开配置中心JSON
Ctrl
+ Shift
+ P
搜索Setting 打开配置中心(JSON)
1 2 3 4 5 6 7 8 9 10 11
| { "eslint.format.enable": true, // 开启ESlint格式化选项 "editor.codeActionsOnSave": { // 保存自动格式化 "source.fixAll ": true, "source.fixAll.eslint": true // 按ESlint规则 }, "window.zoomLevel": 0, "prettier.semi": false, // 不加分号 "prettier.singleQuote": true, // 单引号 "prettier.trailingComma": "all", // 尾随逗号 }
|