{
// 自动保存
"files.autoSave": "afterDelay",
"editor.tabSize": 2,
"beautify.tabSize": 2,
"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"vue-html": "html",
"vue": "html",
"javascript": "javascriptreact"
},
"sync.gist": "32da994c7afbb81eff2a39bd667cba0d",
// "sync.lastUpload": "2018-08-20T07:06:11.737Z",
"sync.autoDownload": false,
"sync.autoUpload": false,
// "sync.lastDownload": "2018-03-21T04:35:35.789Z",
"sync.forceDownload": false,
// "sync.host": "",
// "sync.pathPrefix": "",
"sync.quietSync": false,
"sync.askGistName": false,
"editor.wordWrap": "on",
"files.associations": {
"*.vue": "vue"
// "*.json": "json"
},
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"files.exclude": {
"**/*.css": {
"when": "$(basename).less"
},
"**/*.css.map": true,
"**/*.js.map": true,
"**/**.js": {
"when": "$(basename).ts"
},
"node_modules": true
},
"path-autocomplete.extensionOnImport": true,
"less.compile": {
"compress": true, // true => remove surplus whitespace
"sourceMap": true, // true => generate source maps (.css.map files)
"out": true // false => DON'T output .css files (overridable per-file, see below)
},
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
// "eslint.provideLintTask": true,
// "eslint.packageManager": "npm",
// "eslint.options": {
// "configFile": "E:/xmapp/htdocs/erplib/.eslintrc.js",
// // "configFile": "E:/xampp/htdocs/g7sx/vue_boot_on_g7s/.eslintrc.js",
// // "configFile": "D:/mysite/policy-new2019/.eslintrc.js",
// // "configFile": "E:/xampp/htdocs/iview-text/.eslintrc.js",
// // "configFile": "D:/mysite/policy-mobi/.eslintrc.js"
// // "plugins": ["html", "vue"]
// },
// "eslint.run": "onSave",
// "eslint.autoFixOnSave": true,
// "eslint.workingDirectories": ["./src"],
"prettier.singleQuote": true,
// "prettier.semi": true,
// "prettier.trailingComma": "all",
// "prettier.eslintIntegration": true,
// "vetur.format.defaultFormatter.js": "vscode-typescript",
// 使用插件格式化 html
// "vetur.format.defaultFormatter.html": "prettier",
// "vetur.validation.template": false,
// 格式化插件的配置
// "vetur.format.defaultFormatterOptions": {
// "js-beautify-html": {
// // 属性强制折行对齐
// // "wrap_attributes": "force-aligned",
// }
// },
"workbench.colorTheme": "Atom One Dark",
"vetur.validation.template": false,
"liveServer.settings.donotShowInfoMsg": true,
"git.autofetch": true,
// "prettier.disableLanguages": ["vue", "js", "tsx", "ts"],
"liveServer.settings.donotVerifyTags": true,
"typescript.updateImportsOnFileMove.enabled": "always",
// "prettier.eslintIntegration": true,
"vetur.format.defaultFormatter.js": "none",
"vetur.validation.script": false,
// "javascript.preferences.quoteStyle": "single",
//autoFixedOnSave 设置已废弃,采用如下新的设置
"eslint.lintTask.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
//autoFix默认开启,只需输入字符串数组即可
"eslint.validate": ["javascript", "vue", "html"],
"eslint.format.enable": true,
"eslint.probe": [
"javascript",
"typescript",
"typescriptreact",
"html",
"vue"
],
"editor.suggest.snippetsPreventQuickSuggestions": false,
"workbench.sideBar.location": "left",
"snippets-view.flatten": false,
"git.enableSmartCommit": true,
"workbench.startupEditor": "newUntitledFile",
"sync.forceUpload": true,
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"git.ignoreWindowsGit27Warning": true,
"editor.foldingStrategy": "indentation",
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"git.ignoreRebaseWarning": true,
"window.zoomLevel": 3,
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"tabnine.experimentalAutoImports": true,
"bracket-pair-colorizer-2.depreciation-notice": false
// "eslint.options": {
// "configFile": "E:/xmapp/htdocs/erplib/.eslintrc.js"
// }
// "eslint.validate": [
// "javascript",
// "javascriptreact",
// {
// "language": "html",
// "autoFix": true
// },
// {
// "language": "vue",
// "autoFix": true
// }
// ],
// "javascript.format.insertSpaceAfterKeywordsInControlFlowStatements": false,
// "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
// "javascript.format.insertSpaceAfterCommaDelimiter": false,
// "javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
// "javascript.format.insertSpaceAfterSemicolonInForStatements": false,
// "javascript.format.insertSpaceBeforeAndAfterBinaryOperators": false
// "javascript.format.enable": false,
// "html.format.enable": false
//packinstall eslint安装依赖
//"babel-eslint": "^8.0.1",
// "eslint": "^5.14.1",
// "eslint-config-airbnb-base": "^12.0.0",
// "eslint-config-standard": "^11.0.0",
// "eslint-friendly-formatter": "^3.0.0",
// "eslint-import-resolver-webpack": "^0.8.3",
// "eslint-loader": "^1.9.0",
// "eslint-plugin-html": "^3.2.2",
// "eslint-plugin-import": "^2.9.0",
// "eslint-plugin-node": "^6.0.1",
// "eslint-plugin-promise": "^3.7.0",
// "eslint-plugin-standard": "^3.0.1",
// "eslint-plugin-vue": "^4.3.0",
}