Reputation: 1358
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
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