As far as I can tell, there is no way to skip individual files from JSHint processing with Smoosh. Also, there doesn't seem to be a jshint comment directive to skip a file. It would be nice if smoosh could skip running jshint on only certain files, but still run it on the others.
The problem is that I'd like to include some precompiled Jade templates, but they fail jshint and I haven't been able to find a directive to exclude them. You can see the issue here:
https://github.com/jshint/jshint/issues/234
JSHint just processes what is given to it, so having a way to exclude files within the smoosh configuration is probably the right solution.
As far as I can tell, there is no way to skip individual files from JSHint processing with Smoosh. Also, there doesn't seem to be a
jshint
comment directive to skip a file. It would be nice if smoosh could skip running jshint on only certain files, but still run it on the others.The problem is that I'd like to include some precompiled Jade templates, but they fail jshint and I haven't been able to find a directive to exclude them. You can see the issue here: https://github.com/jshint/jshint/issues/234
JSHint just processes what is given to it, so having a way to exclude files within the smoosh configuration is probably the right solution.