Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 674 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 674 Bytes

Hound JSHint

JSHint is a static code analysis tool for JavaScript

hound-jshint is a Node service that polls JshintReviewJobs from the jshint_review queue, lints code with JSHint, then pushes the results to the high queue, as CompletedFileReviewJobs.

Testing locally

First, add the following to the bottom of index.js:

var testQueue = require("./lib/test-queue");

testQueue(redis);

Next, start the Resque web interface:

$ cd node_modules/node-resque/resque-web
$ bundle install
$ bundle exec rackup
$ open http://localhost:9292

As you run the worker, monitor how jobs flow through the queues.