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

Re: [jslint] JSLint Database

Expand Messages
  • Dominic Mitchell
    ... jslint4java offers a command line version. You have to say java -jar jslint4java.jar some.js . There s no inotify support, but it could always be
    Message 1 of 7 , Dec 4, 2010
    • 0 Attachment
      On Sun, Dec 5, 2010 at 5:29 AM, graham_king_3 <graham@...> wrote:

      >
      > I too would love to know how to keep running this from Rhino, or in fact
      > simply from a unix command line. No-one has yet added a Rhino version to the
      > database. The nearest alternative seems to be node-js and npm, but npm
      > doesn't play nice with permissions and sudo yet.
      >
      > As the file is gone from jslint.com, I have uploaded the latest jslint
      > rhino version I have, here, for people in the same situation as me:
      > http://www.darkcoding.net/jslint.js
      >
      > Note that it has switched off whitespace checking.
      >
      > I use inotify to watch my files and automatically run jslint (using this
      > bash script https://github.com/grahamking/lint_switch), so I'm looking
      > for a stand-alone command line version for Unix, ideally with few
      > dependencies.
      >

      jslint4java offers a command line version. You have to say "java -jar
      jslint4java.jar some.js". There's no inotify support, but it could always
      be invoked from something that has.

      -Dom


      [Non-text portions of this message have been removed]
    • graham_king_3
      Dom, Jakob, jslint4java is exactly what I was looking for. Thanks! Graham
      Message 2 of 7 , Dec 5, 2010
      • 0 Attachment
        Dom, Jakob,

        jslint4java is exactly what I was looking for. Thanks!

        Graham


        --- In jslint_com@yahoogroups.com, Dominic Mitchell <dom@...> wrote:
        >
        > jslint4java offers a command line version. You have to say "java -jar
        > jslint4java.jar some.js". There's no inotify support, but it could always
        > be invoked from something that has.
        >
        > -Dom
        >
        >
        > [Non-text portions of this message have been removed]
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.