Skip to content

Instantly share code, notes, and snippets.

@seperman
Created December 25, 2015 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seperman/d67fdbe9e4a09772fbb0 to your computer and use it in GitHub Desktop.
Save seperman/d67fdbe9e4a09772fbb0 to your computer and use it in GitHub Desktop.
jshint sublime settings (there is another one for configs too!)
{
// Simply using `node` without specifying a path sometimes doesn't work :(
// https://github.com/victorporof/Sublime-JSHint#oh-noez-command-not-found
// http://nodejs.org/#download
"node_path": {
"windows": "C:/Program Files (x86)/nodejs/node.exe",
"linux": "/usr/bin/nodejs",
"osx": "/usr/local/bin/node"
},
// Automatically lint on edit (Sublime Text 3 only).
"lint_on_edit": true,
// Configurable duration before re-linting.
"lint_on_edit_timeout": 1,
// Automatically lint when a file is loaded.
"lint_on_load": false,
// Automatically lint when a file is saved.
"lint_on_save": false,
// Highlight problematic regions when selected.
"highlight_selected_regions": false,
// Log the settings passed to JSHint from `.jshintrc`.
"print_diagnostics": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment