Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: pass options.global as predef arg to JSHINT (#216)
The JSHINT [API](http://jshint.com/docs/api/) specifies that `globals` actually get passed as the `predef`, the 3rd argument to the function and not part of the `options`. This fixes that. Compare with CodeMirror's jshint integration: https://github.com/codemirror/CodeMirror/blob/e49a19f5cacb447558f162014eb26b8c45b30941/addon/lint/javascript-lint.js#L31
- Loading branch information