{
//配置eslint
"eslint.validate": [
"javascript", // 用eslint的规则检测js文件
"javascriptreact",
"vue",
"html",
"typescript",
],
// 启用保存时自动修复eslint,默认只支持.js文件
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.tabSize": 2,
"editor.formatOnSave": false,
"editor.formatOnType": false,
"editor.fontSize": 16,
"editor.fontWeight": "normal",
"editor.fontFamily": "Consolas, 'Courier New', monospace,Fira Code",
"editor.suggest.snippetsPreventQuickSuggestions": false,
"files.associations": {
"editor.suggest.snippetsPreventQuickSuggestions": "false",
"window.zoomLevel": "0",
"terminal.integrated.rendererType": "dom",
"files.associations": " { \"*.vue\":\"html\" }",
"*.wxml": "html",
"*.wxss": "css",
"*.cjson": "jsonc",
"*.wxs": "javascript"
},
"vetur.format.defaultFormatterOptions": {
// 属性强制折行对齐
"wrap_attributes": "force-aligned"
},
"editor.fontLigatures": null,
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"emmet.syntaxProfiles": {},
"remote.SSH.showLoginTerminal": true,
"files.eol": "\n",
"diffEditor.ignoreTrimWhitespace": false,
"prettier.useEditorConfig": false,
"prettier.semi": true,
"prettier.singleQuote": true,
"vetur.grammar.customBlocks": {
"docs": "md",
"i18n": "json"
},
"typescript.format.semicolons": "insert",
"editor.wordWrapColumn": 120,
"emmet.includeLanguages": {
"wxml": "html",
},
"minapp-vscode.disableAutoConfig": true,
"mssql.connections": [
{
"server": "{{put-server-name-here}}",
"database": "{{put-database-name-here}}",
"user": "{{put-username-here}}",
"password": ""
}
],
"files.autoGuessEncoding": true,
"cSpell.userWords": [
"paymentcode"
],
"settingsSync.ignoredSettings": [
"files.eol"
],
"preCI.basicSettings.accessToken": "NKyb2rJnJ3nxWWMOaA560ShUeOFZ5e",
"preCI.basicSettings.accountId": "v_taottian",
"preCI.basicSettings.agentPath": "/Users/v_taottian/agent ",
"eslint.codeAction.showDocumentation": {
"enable": true
},
"eslint.nodeEnv": "",
"guides.enabled": false,
"javascript.updateImportsOnFileMove.enabled": "never",
"html.completion.attributeDefaultValue": "singlequotes",
"javascript.format.semicolons": "insert",
"eslint.codeActionsOnSave.rules": null,
"[wxml]": {
"editor.defaultFormatter": "qiu8310.minapp-vscode"
}
}
配置eslint
最新推荐文章于 2024-01-25 00:07:42 发布