js代码检测

Sublime Text 中配置 Eslint 代码检查和自动修复
https://www.jianshu.com/p/b25a8fe4c708

ESLint配置
http://eslint.cn/docs/user-guide/configuring#disabling-rules-with-inline-comments

VScode eslint-plugin-vue 自动修复eslint报错 https://www.cnblogs.com/mengfangui/p/9516578.html

首选项--设置 --文本编辑器

{
    "workbench.colorTheme": "Monokai",
    "editor.fontSize": 18,
    "eslint.autoFixOnSave": true ,
    "eslint.validate": [
        "javascript" ,{
            "language" : "vue" ,
            "autoFix": true
        }, "html" ,
        "vue"
    ] ,
}
FCFC0777-AB69-4be9-A6ED-286E3F9A2D04.png

你可能感兴趣的:(js代码检测)