{ "workbench.iconTheme": "vscode-icons", // "editor.fontFamily": "Iosevka Term, Microsoft YaHei, Consolas, 'Courier New', monospace", // "debug.console.fontSize": 16, "editor.fontSize": 18, "editor.formatOnSave": true, "eslint.autoFixOnSave": true, "eslint.validate": [ "javascript", { "language": "vue", "autoFix": true }, { "language": "html", "autoFix": true } ], "terminal.integrated.rendererType": "dom", "terminal.integrated.fontFamily": "monospace", "editor.renderWhitespace": "none", "svn.enableProposedApi": "product", "[markdown]": { "editor.defaultFormatter": "yzhang.markdown-all-in-one" }, "prettier-eslint.eslintIntegration": true, //让prettier使用eslint的代码格式进行校验 "prettier.singleQuote": true, // prettier配置 --- 使用单引号 "prettier.semi": false, // prettier配置 --- 结尾不加分号 "prettier.printWidth": 140, // prettier配置 --- 每行最多显示的字符数 // UP IS COSTOMER "vetur.format.defaultFormatter.html": "js-beautify-html", "vetur.format.defaultFormatter.js": "vscode-typescript", "javascript.format.insertSpaceBeforeFunctionParenthesis": true, "editor.quickSuggestions": { "strings": true }, // "editor.tabSize": 2, "files.associations": { "*.vue": "vue", "*.cjson": "jsonc", "*.wxss": "css", "*.wxs": "javascript" }, "beautify.language": { "html": [ "htm", "html", "vue" ] }, "explorer.confirmDelete": false, "vetur.validation.template": false, "[javascript]": { "editor.defaultFormatter": "vscode.typescript-language-features" }, "[vue]": { "editor.defaultFormatter": "HookyQR.beautify" // "editor.defaultFormatter": "vscode.typescript-language-features" }, "javascript.updateImportsOnFileMove.enabled": "always", "[html]": { "editor.defaultFormatter": "HookyQR.beautify" }, "emmet.includeLanguages": { "wxml": "html" }, "minapp-vscode.disableAutoConfig": true, "window.zoomLevel": 0, "[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "vetur.experimental.templateInterpolationService": true, "editor.minimap.enabled": false, "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, "editor.mouseWheelZoom": true, "http.systemCertificates": false // 将less编译成css文件生成的位置,相对于当前less文件的位置 // "less.compile": { // "out": "../css/" // }, }
2.0
{ "workbench.iconTheme": "material-icon-theme", "explorer.confirmDragAndDrop": false, "explorer.confirmDelete": false, //配置eslint "eslint.autoFixOnSave": true, // 启用保存时自动修复,默认只支持.js文件 "eslint.validate": [ "javascript", // 用eslint的规则检测js文件 { "language": "vue", // 检测vue文件 "autoFix": true // 为vue文件开启保存自动修复的功能 }, { "language": "html", "autoFix": true }, ], "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, }