jslint4java is a free and open-source Java wrapper around Douglas Crockford's widget, JSLint.
jslint4java provides a CLI based interface for detecting potential problems in JavaScript code.
Simply open a Terminal window and type java -jar jslint4java-1.4.jar --help to view more instructions.
jslint4java is a cross-platform utility capable of running on any operating system that comes with Java support (e.g. Mac OS X, Windows, Linux).
Requirements:
· Java
What's New in This Release: [ read full changelog ]
· Update to JSLint 2013-05-06.
· Fixes issue 94 (thread safety).
· Clean up docs to remove references to undef option, which no longer exists.
· Allow reading stdin if "-" is passed as a filename.