(This Is taken from this link and formatted)
Rhino is a Javascript engine that is written entirely in Java. It can be used to run JSLint from the command line on systems with Java interpreters.
The file jslint.js can be run by Rhino. It will read a JavaScript program from a file. If there are no problems, it terminates quietly. If there is a problem, it outputs a message. The WSH edition of JSLint does not produce a Function Report.
One way to run JSLint is with this command:
C:\> java org.mozilla.javascript.tools.shell.Main jslint.js myprogram.js
It runs java which loads and runs Rhino which loads and runs jslint.js, which will read the file myprogram.js and report an error if found.
Download jslint.js.