Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
a minimal jshint service based on node
Ruby Shell JavaScript
branch: master

This branch is 11 commits behind johnbender:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
jshint @ 2dfcf26

JSHINT Service

A super simple node server for accepting js as a POST body and running it through jshint.


The server can be setup with the chef cookbooks, though they are very simple. One important note is that the npm install express is failing inexplicably.

Pre Commit Hook

Also included is a relatively simple pre-commit git hook that prevents commits on console. , debugger, and alert statements in your js, and also produces jshint warnings for all js files staged in the index for commit by contacting a deployed version of the server.


Node doesn't install easily and it seems silly to make it a dependency for developers to benefit from jshint checks on their javascript. Thus the server and hook were born.

Something went wrong with that request. Please try again.