Created
July 26, 2011 19:13
-
-
Save hannesgassert/1107670 to your computer and use it in GitHub Desktop.
Sublime Text 2 Build System Description: jslint for node (working on Lion)
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
Show hidden characters
// 1) Install node and npm | |
// 2) npm -g install jslint (the jslint one) | |
// Install this in Sublime Text 2 | |
// Now with clickable errors and all | |
{ | |
"cmd": ["/usr/local/bin/node", "/usr/local/bin/jslint", "--node", "$file"], | |
"file_regex": "^(/.+\\.js)", | |
"line_regex": "([0-9]+),[0-9]+:", | |
"selector": "source.js", | |
"env": {"node" : "/usr/local/bin/node"} // this seems to be ignored on Lion? | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment