ESLint is the pluggable linting utility for JavaScript and JSX
hound-eslint
is a Node service that polls EsLintReviewJob
s from the
eslint_review
queue, lints code with ESLint
, then pushes the results to
the high
queue, as CompletedFileReviewJob
s.
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.