ESLint 配置文件扩展名

2019-12-06  本文已影响0人  章文顺
    "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
搜罗各种前后端奇淫技巧,花式编程思想,日日更新,速来围观吧...

上一篇 下一篇

猜你喜欢

热点阅读