CMD + Shift + P
- Type
Install Package and choose the same in dropdown.
- Search for
JSHint Gutter & install
- Copy
https://gist.github.com/livey0u/3440384bd9a989884e405e195b25dada to project folder & name as .jshintrc
CMD + Shift + J to lint file
- See Preferences -> Package Settings -> JSHint Gutter -> Set Keyboard Shortcuts to know all keyboard shortcuts
- See Preferences -> Package Settings -> JSHint Gutter -> Set Plugin Options to tune linting based on your need. Ex: Lint file on save
JSHint on sublime text 3 for Node.js projects