nodejs module for viewing JSHint errors on a project
JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
public
styles
test
.gitignore
index.js
makefile
package.json
readme.md
viewer.jade

readme.md

verifyjs

Getting started

Install with NPM:

npm install verifyjs

Usage

require as module

var verifyjs = require('verifyjs')

set options

var options = {
  port: 8080,
  base: __dirname + "/app",
  dir: "models",
  ignore: ['node_modules', 'test', 'bin', 'scripts', 'vendor', '.git'],
  jshint: {
    "es5": true,
    "maxcomplexity": 5,
    "white": false,
    "sub": true,
    "lastsemic": true
  }
};

initialize with options

verifyjs(options);

Using your browser, open the app's URL at port 8080 (or whichever port you set) to view the results from running JSHint on your specified directory.