When comparing JSHint vs Sublime Linter, the Slant community recommends Sublime Linter for most people. In the question“What are the best plugins for Sublime Text?” Sublime Linter is ranked 8th while JSHint is ranked 35th.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Customizable ruleset
Since it's creation, JSHint was created to be a more configurable version of JSLint (it's actually a fork of JSLint itself). Every rule is configurable through a configuration file.
Pro Comes with support for many librariers
JSHint supports libraries like QUnit, NodeJS, jQuery, Mocha out of the box.
Pro Basic ES6 support
Basic ES6 support is included.
Pro Helps you find errors in the code
Pro Supports pretty much every language
Cons
Con No way to support ESnext
There's no support for ESnext available.
Con Difficult to know which rule is causing an error
Because it does not display the rule name that is being broken, it's difficult to know which rule is actually causing the error.
Con Tends to cause Sublime Text to run slowly
With Sublime Linter installed, dialog boxes warning that the plugin is running slowly can become a common occurrence, depending on the types of files you regularly work with.
Con Many default linters require installing Node.js
Javascript, CoffeeScript, and even the CSS linter require installing Node.js to function