美文网首页
vscode配置保持自动调整eslint格式

vscode配置保持自动调整eslint格式

作者: 搬个菠萝晒太阳 | 来源:发表于2022-01-12 11:22 被阅读0次

{
"editor.minimap.enabled": false,
"editor.tabSize": 2,
"editor.fontSize": 24,
"eslint.autoFixOnSave": true, // 保存时自动修复
"eslint.validate": [
"css",
"javascript", // 用eslint的规则检测js文件
"javascript react",
{
"language": "html",
"autoFix": true
},
{
"language": "vue",
"autoFix": true
}
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"window.autoDetectHighContrast": false,
"window.menuBarVisibility": "default",
"editor.renderControlCharacters": true,
"workbench.activityBar.visible": true,
"workbench.statusBar.visible": true,
"breadcrumbs.enabled": false,
"explorer.confirmDelete": false,
"window.zoomLevel": -1
}

相关文章

网友评论

      本文标题:vscode配置保持自动调整eslint格式

      本文链接:https://www.haomeiwen.com/subject/ajqwcrtx.html