360Re: [jslint] Feature request: exit codes
- Jan 13, 2009On Tue, Jan 13, 2009 at 04:59:14PM +0000, Daniel Cassidy wrote:
> 2009/1/9 M. Lorton <mlorton@...>jslint4java works, but it is in need of an update to the latest jslint.
> > The current version of JSlint (at least on Rhino) exits with code 1 if
> > it cannot read the file and 0 otherwise. If it instead would exit
> > with 0 only if the file was read AND was free of lint, I could use
> > JSlint in for pre-commit checking under SVN.
> > .
> Take a look at JSLint4Java, which embeds JSLint and does what you want, as
> well as being usable as an Ant task.
Unfortunately I've left it in a bit of a state. I'm hoping to get to
working on it soon…
- << Previous post in topic Next post in topic >>