1836ANN: JSLint Reporter (Node.js wrapper)
- Jan 26, 2011Here's yet another JSLint wrapper for command-line enthusiasts.
Since my Python wrapper for JSLint always seemed overly complex, I've
I've attempted to keep it as simple as possible; the makefile adds only
a single line to JSLint (`make jslint`) for Node.js-compatibility
("module.exports.JSLINT = JSLINT;") - the rest (i.e. wrapper.js) is just
some glue to pass data to JSLINT.
The output is in standard error format (<file>:<line>:<char>:<error>),
so it can easily be used from within editors like Vim et al.
Since folks here are very good at uncovering unexpected behavior, I'd
greatly appreciate some feedback.
- Next post in topic >>