A command line interface and npm package for ESValidate - a JavaScript validator using Esprima.
To use esvalidate from any location (for npm v1.x) you need to install using the global (-g) flag.
npm install -g esvalidate
esvalidate -h
You can also require ESValidate itself as a module.
var esvalidate = require('esvalidate');
Note: If you are using npm v1.x be sure to install esvalidate locally (without the -g flag) or link it globally.
- sublime-esvalidate -
CTRL-SHIFT-V
on any .js file.
Specify a custom formatter module (see formats/junit.js).
--formatter path/to/format.js