美文网首页
ESLint 配置文件扩展名

ESLint 配置文件扩展名

作者: 章文顺 | 来源:发表于2019-12-06 16:10 被阅读0次
  • 最近 vscode 更新后:
    配置更新
    "eslint.validate": [
        "javascript",
        "javascriptreact",
        "typescript",
        "typescriptreact",
        "html",
        "vue",
        "tsx"
    ],
    "editor.codeActionsOnSave": {
        "source.fixAll": true,
        "source.fixAll.tslint": true,
        "source.fixAll.eslint": true
    }

上货

    "eslint.validate": [
        "javascript",
        "javascriptreact",
        "html",
        {
            "language": "vue",
            "autoFix": true
        },
        {
            "language": "typescript",
            "autoFix": true
        }
    ]

大前端知识库收集分享 www.rjxgc.com 壹玖零Tech
搜罗各种前后端奇淫技巧,花式编程思想,日日更新,速来围观吧...

相关文章

网友评论

      本文标题:ESLint 配置文件扩展名

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