When comparing DiffView vs JSHint, the Slant community recommends JSHint for most people. In the question“What are the best plugins for Sublime Text?” JSHint is ranked 35th while DiffView is ranked 42nd. The most important reason people chose JSHint is:
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.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Flexible diffs for Git, SVN and Bazaar
Pro Auto-detects the repository to use from the current active file
Pro Quick navigation from one change to the next, or search for diffs in a specific file
Pro Side-by-side view with differences highlighted
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.
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.