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

359Re: [jslint] Feature request: exit codes

Expand Messages
  • Daniel Cassidy
    Jan 13, 2009
      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.

      Dan.


      [Non-text portions of this message have been removed]
    • Show all 6 messages in this topic