Last active
August 29, 2015 14:03
-
-
Save kjlubick/6e7f858e0e83662d1fe4 to your computer and use it in GitHub Desktop.
JSHint for Sublime Text 3 settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// Details: https://github.com/victorporof/Sublime-JSHint#using-your-own-jshintrc-options | |
// Example: https://github.com/jshint/jshint/blob/master/examples/.jshintrc | |
// Documentation: http://www.jshint.com/options/ | |
"browser": true, | |
"devel": true, | |
"esnext": true, | |
"jquery":true, | |
"globals": {}, | |
"globalstrict": false, | |
"quotmark": false, | |
"smarttabs": true, | |
"trailing": true, | |
"undef": true, | |
"unused": true | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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/nodejs/node.exe", | |
"linux": "/usr/bin/nodejs", | |
"osx": "/usr/local/bin/node" | |
}, | |
// Automatically lint on edit (Sublime Text 3 only). | |
"lint_on_edit": false, | |
// 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": true, | |
// Highlight problematic regions when selected. | |
"highlight_selected_regions": true, | |
// 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