How to configure 2 spaces instead of tabs..WIth jsHint and Sublime Linter in Sublime Text 3

泄露秘密 提交于 2019-12-02 07:24:43

I assume that line 20 is the "args" line, as it's malformed. Try

"linters": {
    "jshint": {
        "@disable": false,
        "args": [ {"indent": 4 } ],
        "excludes": []

    }
}

instead. I don't know that it'll make jshint do what you want it to do (I'd read the docs for that), but at least it's valid JSON.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!