Skip to content

Instantly share code, notes, and snippets.

@aidancasey
Last active August 29, 2015 14:01
Show Gist options
  • Save aidancasey/27c3d89e3cf06f73daf0 to your computer and use it in GitHub Desktop.
Save aidancasey/27c3d89e3cf06f73daf0 to your computer and use it in GitHub Desktop.
Configuring JSHint with Sublime Text 3 on Widows 7
(1)Install jshint node module globally
$npm install jshint -g
(2)In Sublime Text install JSHint Gutter via package manager
https://github.com/victorporof/Sublime-JSHint
(3) You now need to sepcificy the absolute path to node to enable the plugin to shell out to node.js to do the JSHint'ing
take care to use forward slashes and to escape out any spaces yuck, here's the config in all its awesomeness for a 64 bit node install on windows (gulp)
JSHint -> Set PlugIn Options ...
"node_path": "\"C:/Program Files (x86)/nodejs/node.exe\"",
voila
hope this helps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment