Reputation: 860
I have a project in which I'm using standard as the default linter, according to sublimeLinter documentation y need to create a .sublime-project
file with the following info:
{
"folders":
[
{
"path": "."
}
],
"SublimeLinter":
{
"linters":
{
"jshint": {
"disable": true
}
}
}
}
however this isn't working, I've tried using both disable
and @disable
, created a .sublimelinterrc
file with the same info, also tried with a .sublime-workspace
file, didn't worked, created a .jshintignore
... didnt work.
Until now, the only thing that has worked is using this line in top of the file // jshint ignore: start
but I don't want to write this in every single file, I want to disable it for all the project. Any idea of how can I do it?
Upvotes: 0
Views: 1049
Reputation: 41
There is a newer, easier syntax for this. In your sublime project file add the following under settings.
{
"settings":
{
"SublimeLinter.linters.jshint.disable": true
}
}
Upvotes: 1
Reputation: 860
As mentioned by OdatNurd the file won't do nothing by itself, it has to be loaded through the sublime project option in menu.
Upvotes: 1