wookiehangover / jshint.vim

JSHint fork of jslint.vim
Other
194 stars 45 forks source link

Pass globals to jshint. #34

Closed bemurphy closed 10 years ago

bemurphy commented 10 years ago

JSHINT requires you pass globals as the third argument. Copied this pattern from the src/cli.js from jshint itself:

https://github.com/jshint/jshint/blob/2.x/src/cli.js#L437

m-abs commented 10 years ago

I've patched my local version with this https://gist.github.com/m-abs/410c727cf48a1fe82ab6

wookiehangover commented 10 years ago

Thanks a ton!