PEDANT
A vows macro for jshinting your project's code
Example:
var vows = assert = path = pedant = ; vows;
You can run this example yourself simply by running this project's test!
Install:
npm install pedant
Usage:
pedant(filepath, [settings])
- 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.
pedant.settings
Contains some included jshint settings:
pedant.settings.nodejitsu
The official nodejitsu house style jshint settings.
Test:
npm test
License:
MIT/X11.