Reputation: 11778
Is it possible to ignore all warnings with jshint without making such a config file:
{
...
"-W039": false
"-W040": false
"-W041": false
"-W042": false
...
}
Upvotes: 4
Views: 2684
Reputation: 531
During development or debugging it can be useful to suppress everything or a part of the file.
Wrap whichever code block you want to ignore in:
/* jshint ignore:start */
<code here>
/* jshint ignore:end */
Don't forget to remove this pre production though!
Upvotes: 2