stephenmathieson/grunt-jslint — pull request #3 by ffesseler (2012-11-20 16:59:58+00:00)
Title: Grunt 0.4.0a compatibility

I've tried to use grunt-jslint with Grunt 0.4.0a (devel branch) and there is an issue when templates are processed :

`An error occured while processing a template (Cannot call method 'forEach' of undefined)`

After a bit of research, it looks like the template engine was changed in Grunt 0.4.0a and the API changed a little bit.

See this [page](https://github.com/gruntjs/grunt/blob/devel/docs/api_template.md#grunttemplateprocess)

> The default data object is the entire config object, but if options.data is set, that object will be used instead

This PR provides changes to make everything working according to this new API but I don't know how it should be handled considering your module depends currently on grunt 0.3...