蓝鲸云vscode+eslint+vue2保存触发格式化

2022-10-10  本文已影响0人  木火应
{
  "eslint.autoFixOnSave": true,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    {
      "language": "html",
      "autoFix": true
    },
    {
      "language": "vue",
      "autoFix": true
    }
  ],
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}
上一篇 下一篇

猜你喜欢

热点阅读