Last active
August 29, 2015 14:01
-
-
Save aidancasey/27c3d89e3cf06f73daf0 to your computer and use it in GitHub Desktop.
Configuring JSHint with Sublime Text 3 on Widows 7
This file contains 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
(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