How to install Sublimelinter-JSHint in Sublime Text 3
1. Make sure that node.js is installed on your system.
2. Install JSHhint. From your command line run the following command (add -g to install globally on your system):
3. Run your Sublime Text, open Command Palette with Ctrl+Shift+P and type package control or install. Among the commands you should see Package Control: Install Package. If that command is not highlighted, use the keyboard or mouse to select it.
4. A plugin list will appear, type jshint. Among the entries you should see SublimeLinter-jshint. If that entry is not highlighted, use the keyboard or mouse to select it.
If the plugin is successfully installed you should see the following message
Restart your Sublime Text, That’s it! Now JSHint works in your Sublime Text editor!
To see how JSHint reacts, you can open a Javascript file and remove a semicolon for instance, an Error: Messing Semicolon will be displayed in the bottom of the window.
For more information visit https://github.com/SublimeLinter/SublimeLinter-jshint