This post is from a low-reputation account and contains an unverified outbound link. Be cautious before clicking external links.
CMD + Shift + P- Type
Install Packageand choose the same in dropdown. - Search for
JSHint Gutter& install - Copy
https://gist.github.com/livey0u/3440384bd9a989884e405e195b25dadato project folder & name as .jshintrc
CMD + Shift + Jto 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