linemanjs / lineman

Lineman helps you build fat-client JavaScript apps. It produces happiness by building assets, mocking servers, running specs on every file change
MIT License
1.18k stars 83 forks source link

Cannot use newer JSHint option: `latedef: "nofunc"` #342

Closed mark-rushakoff closed 9 years ago

mark-rushakoff commented 9 years ago

I'm trying to use JSHint's latedef: "nofunc" option, but it isn't being respected in Lineman. I believe this is because Lineman includes grunt-contrib-jshint 0.6.4 and grunt-contrib-jshint is currently on version 0.11.0. `latedef: "nofunc" is a relatively newer option, but I'm not yet experienced enough with Node to know how to verify this fix myself.

davemo commented 9 years ago

Hi @mark-rushakoff, please remove and install the latest release of Lineman. I pushed an update and revision 0.34.4 fixes this as well as upgrades grunt to 0.4.5 in the process

mark-rushakoff commented 9 years ago

Thanks for the really quick fix! Upgrading JSHint allowed me to use the new option that I wanted. You all are doing so great on response time to GitHub issues that I had to tweet about it.