JSHint on sublime text 3 for Node.js projects

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