alexserver
alexserver

Reputation: 1358

configure SublimeLinter-jshint to work with node in Sublime3

So according to what I understand to doc, this is the way to do it. Sublime > preferences > user settings:

{
    "linters": {
        "jshint": {
            "node": true
        }
    }
}

it is not working. I'm using sublime3 and sublimelinter with sublimelinter-jshint. also I have jshint installed in my local enviroment.

any help ?

Upvotes: 1

Views: 2629

Answers (1)

MattDMo
MattDMo

Reputation: 102852

That doesn't belong in Preferences -> Settings-User. Instead, open Preferences -> Package Settings -> SublimeLinter -> Settings-User and add the following after the line "linters": {

            "jshint": {
                "@disable": false,
                "node": true
            },

You can delete the final comma , after the closing brace } if there are no other entries in the linters array.

Upvotes: 5

Related Questions