Kronuz/SublimeLinter — Issue #85: Option to use globally installed JSHint
Author: antonkovalyov
Created: 2012-01-24 21:16:41+00:00
State: open

It would be nice to have an option to use globally installed copy of JSHint instead of the one SublimeLinter is shipped with. Helps, for example, when you use a non-release version of JSHint or when SublimeLinter is behind the release.

I recently made a patch for Arcanist where I introduced JSHint. The logic there goes like this:

* If there is a config pointing to a JSHint binary—use it.
* In other case use global.
* If there is a config pointing to a JSHint config—use it.
* In other case run with defaults.

I can make something like this (with slightly different logic, more suitable for SublimeLinter) and send a patch if you think this is a good approach for SublimeLinter.