Last Updated: February 25, 2016
· manix84


I simply cannot explain how much Linting has improved my code. It improves readability and coding standards all at once. I recommend JS-Hint over JS-Lint, simply because their are a far greater number of options.

Here's how to install Sublime Linter (includes JS-Hint) into Sublime Text 2.

  • If you don't already have it, install Sublime Package Control
  • Restart Sublime Text 2
  • Bring up the Command Palette (Command+Shift+P on OS X, Control+Shift+P on Linux/Windows).
  • Select "Package Control: Install Package" (This might take a few moments for Package Control to fetch the latest package list.)
  • When the list appears, type "SublimeLinter" and press Enter/Return.
  • Wait for SublimeLinter to install, it will only take a moment.
  • Done :) Now, when you Load, Save or Edit a file, you'll be linting your code.

My Sublime Linter options can be found at, in case anyone finds it useful.