Disabling JSHint indentation check only for a specific file

Hidd3n

New Member
I use jshint with the indent enforcing option enabled and set to 4, and would like to keep it that way for most files in the codebase.In one specific file though, I would like to disable this check.I tried adding the jshint comment at the top but that didn't work:\[code\]/* jshint indent: false */\[/code\]This is too bad because this syntax works for other options. For example, I can disable the camelcase enforcing option with the following:\[code\]/* jshint camelcase: false */\[/code\]How can I do this?
 
Top