Loading ...
Sorry, an error occurred while loading the content.

360Re: [jslint] Feature request: exit codes

Expand Messages
  • dom@happygiraffe.net
    Jan 13, 2009
      On Tue, Jan 13, 2009 at 04:59:14PM +0000, Daniel Cassidy wrote:
      > 2009/1/9 M. Lorton <mlorton@...>
      > > 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.

      jslint4java works, but it is in need of an update to the latest jslint.
      Unfortunately I've left it in a bit of a state. I'm hoping to get to
      working on it soon…

    • Show all 6 messages in this topic