That’s the obvious question, right? Why even bother creating a wrapper for JSC when JSHint is already out-of-the-box ready for Node.js, and ships with environment scripts to cover Rhino and Windows Script Host?
As I noted in my pull request, many folks are excited about and working on Node.js—but not everyone. Having to pull Node.js and futz about with building it, that’s a barrier for some people. Echo that sentiment with Rhino.
So I thought to myself: take away that excuse. Don’t know how to build Node? Can’t be bothered to build a Rhino jar? “That’s fine, but I noticed your little glowing apple there…”
We’ll save the git pre-commit hook lessons for next time.
UPDATE: Not even 24 hours later, the JSC wrapper is accepted into the JSHint project. I promise to deliver that git pre-commit hook lesson soon.