Skip to content

Instantly share code, notes, and snippets.

View joaotavora's full-sized avatar
🐌
I may be slow to respond.

João Távora joaotavora

🐌
I may be slow to respond.
View GitHub Profile
@erikfried
erikfried / README.markdown
Created March 7, 2011 10:21
shell script to invoke jslint via jsc on Mac OS X

I just realized that there is a rather well hidden javascript interpreter in the mac os x terminal out of the box. /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc See http://www.phpied.com/javascript-shell-scripting/

Then i figured it coud be quite easy to set up a command line util to run jslint from anywhere. Thought i´d share how.

Setup