fat / smoosh

something like a himalountain.
342 stars 21 forks source link

Skip JSHint on individual files #10

Closed tauren closed 13 years ago

tauren commented 13 years ago

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.

tauren commented 13 years ago

I think this issue is already resolved with my pull request in #11 that you accepted. Closing...