{
"vim.disableAnnoyingNeovimMessage": true,
"editor.renderWhitespace": "none",
// "vetur.format.defaultFormatter.js": "vscode-typescript",
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
// "vetur.format.defaultFormatter.ts": "vscode-typescript",
"git.enableSmartCommit": true,
"background.useDefault": true,
"background.customImages": [
""
],
// "eslint.autoFixOnSave": true,
"editor.fontSize": 18,
"editor.tabSize": 4,
"prettier.singleQuote": true,
"prettier.semi": false,
"standard.validate": [
"javascript",
"javascriptreact",
{
"language": "html",
"autoFix": true
}
],
"standard.autoFixOnSave": true,
"standard.options": {
"plugins": [
"html"
]
},
"wxmlConfig.format": {
"indent_size": 4,
},
"background.style": {
"content": "''",
"pointer-events": "none",
"position": "absolute",
"z-index": "99999",
"width": "100%",
"height": "100%",
"background-position": "100% 100%",
"background-repeat": "no-repeat",
"opacity": 0.6
},
"background.enabled": true,
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.formatOnType": false,
"liveServer.settings.donotShowInfoMsg": true,
"editor.parameterHints": true,
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"files.associations": {
"*.vue": "vue",
"*.html": "html",
"*.wpy": "vue",
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript",
"*.js": "javascript"
},
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.locale": "zh-CN",
"breadcrumbs.enabled": true,
// "editor.fontSize": 15,
"editor.fontLigatures": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"files.exclude": {
"**/.idea": true,
"**/.vscode": true,
"**/compiled.php": true,
"**/node_modules": true,
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"search.useIgnoreFiles": false,
"search.exclude": {
"**/*.log": true,
"**/*.min.css": true,
"**/*.min.js": true,
"**/node_modules": true,
"**/dist": true
},
"emmet.syntaxProfiles": {
"javascript": "jsx",
"vue": "html",
"vue-html": "html"
},
"eslint.options": {
"plugins": [
"html"
],
"configFile": ".eslintrc.js",
"extensions": [
".js",
".vue"
]
},
"vetur.ignoreProjectWarning": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"vue",
"html",
],
"prettier.eslintIntegration": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"emmet.includeLanguages": {
"wxml": "html"
},
"minapp-vscode.disableAutoConfig": true,
"terminal.integrated.rendererType": "dom",
"vetur.format.options.tabSize": 4,
"[scss]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"beautify.language": {
"js": {
"type": [
"javascript",
"json"
],
"filename": [
".jshintrc",
".jsbeautify"
]
},
"css": [
"css",
"scss"
],
"html": [
"htm",
"html",
"vue" //在这里加上vue
]
},
"eslint.workingDirectories": [
{
"mode": "auto"
},
"./frontend"
],
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
// "editor.defaultFormatter": "HookyQR.beautify"
// "editor.defaultFormatter": "hu2ren.vetur-wepy"
// "editor.defaultFormatter": "HookyQR.beautify"
},
"[javascript]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[json]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[css]": {
"editor.defaultFormatter": "michelemelluso.code-beautifier"
},
"python.jediEnabled": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll": true
},
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"explorer.confirmDelete": false,
"eslint.codeAction.showDocumentation": {
"enable": true
},
"python.languageServer": "Microsoft",
"terminal.integrated.inheritEnv": false,
"workbench.editorAssociations": {
"*.ipynb": "jupyter.notebook.ipynb"
},
"redhat.telemetry.enabled": true,
"eslint.alwaysShowStatus": true,
"[jsonc]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
"java.debug.settings.stepping.skipClasses": [],
// 换行
// "typescript.format.placeOpenBraceOnNewLineForControlBlocks": true,
// 换行
// "typescript.format.placeOpenBraceOnNewLineForFunctions": true,
"vetur.format.defaultFormatterOptions": {
"prettier": {
// "semi": false,
"singleQuote": true
},
"js-beautify-html": {
"wrap_attributes": "force-expand-multiline",
// "wrap_attributes": "force-aligned"
},
"prettyhtml": {
"printWidth": 100,
"singleQuote": false,
"wrapAttributes": false,
"sortAttributes": false
}
},
"vsintellicode.modelDownloadPath": "",
"vetur.completion.scaffoldSnippetSources": {
"vue": ""
},
"vetur.grammar.customBlocks": {
"docs": "md",
"i18n": "json"
},
"explorer.confirmDragAndDrop": false,
"window.zoomLevel": -0.5,
"workbench.colorTheme": "One Dark Pro",
"workbench.iconTheme": "vscode-icons",
}
VScode Eslint代码校验
最新推荐文章于 2023-08-20 15:20:54 发布