node package manager


A vows macro for adding a jshint step to your tests


A vows macro for jshinting your project's code

var vows = require('vows'),
    assert = require('assert'),
    path = require('path'),
    pedant = require('../lib/pedant');
vows.describe('An example of the "pedant" macro').addBatch(
  pedant(path.join(__dirname, '../'), pedant.settings.nodejitsu)

You can run this example yourself simply by running this project's test!

npm install pedant
  • Returns a vows batch.
  • First argument is the top-level directory of what you want to lint.
  • Second argument can be linter settings to pass to jshint.

Contains some included jshint settings:

The official nodejitsu house style jshint settings.

npm test