- 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.
- Update to JSLint 2013-05-01.
- This removes the
anon
,css
,fragment
,on
andundef
options. - This adds the
ass
andclosure
options. - The warnings option is now a noop.
- This removes the ability to parse HTML.
- This removes the
- Update to JSLint 2012-12-04.
- This removes the
cap
option. - This removes the
widget
option. - This adds the
stupid
option (sigh). - This adds the
todo
option.
- This removes the
- issue 81: Does not work with jslint.js >= 2012-05-09
- Update to JSLint 2012-02-03.
- This removes the
adsafe
,confusion
andsafe
options. - This adds the
anon
option.
- This removes the
- issue 78: report unused variables.
- This adds a
warnings
option, as it's not strictly an error reported by JSLint.
- This adds a
- issue 62: Set default indent correctly.
- issue 64: Make the maven plugin work with older maven versions.
- issue 65: Don't blow up when the maven plugin writes a report.
- Update to JSLint 2011-10-17.
- Add a maven plugin.
- Update to JSLint 2011-07-11.
- The nature of the boolean options has been inverted--beware!
bitwise
now enables the use of bitwise operators.newcap
now means “ignore capitalisation of constructors”plusplus
now means “incr” and “decr” operators are tolerated.regexp
now means allow the use of “.” in regexes.undef
now means you can declare variables out of order.white
now means acceptance of non-compliant whitespace.
- New options:
sloppy
, which is the inverse ofstrict
.confusion
, allows inconsistent types.vars
, to tolerate multiplevar
declarations per function (replacesonevar
).eqeq
, to tolerate "==" and "!=".node
, to predefine node.js globals.properties
, to require declaration of all properties.unparam
, to allow unused parameters.
- The nature of the boolean options has been inverted--beware!
- Removed options:
onevar
strict
- The goodParts() api has been removed (it's the default now).
- issue 57: cope with a BOM in files.
- Add OSGI bundle headers.
- issue 52: Add checkstyle xml formatter.
- issue 53: No files passed to the ant task is no longer an error (just an info message).
- Update to JSLint 2011-03-07.
- This adds the
continue
option, whilst removingeqeqeq
,immed
andlaxbreak
options. - JSLints interpretation of line and column numbers has changed. I've tried to keep up. Please file a bug if errors aren't reported at the expected place.
- This adds the
- Update to JSLint 2010-12-23.
- This outlaws a top-level "use strict"—stick it in a function instead.
- issue 47: Make thread safe.
- issue 46: Clean API for JSLintBuilder.fromDefault().
- issue 48: Kill JSLintBuilder.create()
- issue 45: Add support for “maxlen” option. Thanks to pigulla for spotting.
- Update dependencies:
- rhino 1.7R2
- JCommander 1.11
- issue 43: allow access to reports form the command line.
- Thanks to rharding and stigkj for their assistance.
- issue 44: stop IllegalAccessException warning from being emitted.
- Update to JSLint 2010-10-26.
- issue 42: numeric keys throw exception.
- Update JSLint to 2010-09-09.
- Update to JCommander 1.7.
- [INCOMPATIBILITY] This version is able to work with Java 5, so that is now the minimum version again.
- issue 40: StringIndexOutOfBoundsException on XmlResultFormatter.
- issue 35: Removed embedded JUnit.
- issue 30: Add a "report" formatter to the ant task.
- Also available on the command line with
--report
- Also available on the command line with
- issue 37: add a
--encoding
flag for specifying the encoding files on the command line. - issue 36: add a JUnit XML formatter.
- issue 26: add support for
.data()
call in JSLINT.- This is only available in the Java API right now.
- issue 39: add failureproperty to the ant task.
- Use JCommander for flag processing.
- [INCOMPATIBILITY] This means that command line option parsing has changed slightly. You now have to say
--indent 2
instead of--indent=2
. - [INCOMPATIBILITY] The minimum version of Java is now 6.
- [INCOMPATIBILITY] This means that command line option parsing has changed slightly. You now have to say
- Update to JSLint 2010-07-14.
- Adds options: es5, windows.
- Removes options: sidebar.
- issue 8: add support for predef option.
- Update to JSLint 2009-11-22
- Adds "devel" option.
- issue 18: add support for external jslint.js.
- issue 29: pretty up the docs some.
- issue 32: clear up some non-partable tests.
- Update to JSLint 2009-10-04.
- Adds maxerr option.
- issue 21: Emit full filename in ant errors.
- issue 22: Correct line & column numbers to be 1-based.
- issue 23: State total error count in build failure message.
- issue 24: make output more like javac for easier NetBeans parsing. (thanks, Ari Shamash!)
- Update to JSLint 2009-07-25.
- [INCOMPATIBILITY] Rename package from net.happygiraffe.jslint to com.googlecode.jslint4java. This means that the antlib url is now
antlib:com.googlecode.jslint4java
. - Add support for the indent option.
- Switch build to maven.
- Update to JSLint 2009-07-08.
- Recompile with Java 5.
- [INCOMPATIBILITY] Rewrite the ant task so that it always uses filesets.
- [INCOMPATIBILITY] Rewrite the ant task so that it always uses filesets.
- [INCOMPATIBILITY] Move antlib to be antlib:net.happygiraffe.jslint.
- Update to JSLint 2008-09-04.
- Add a
report()
call to get atJSLINT.report()
. - Add in a formatter subelement to the jslint ant task. Output can now be in either XML or plain text and may be written to a file.
- [INCOMPATIBILITY] Default to failing the build if all files do not pass JSLint. Add a haltonfailure attribute to disable this.
- Update to JSLint 2007-07-29.
- Fixed Issue 1, a NullPointerException when encountering a fatal error. Many thanks to Rod McChesney for pointing this out.
- Added an Ant task to run JSLint as part of the build. See the javadoc for details.
- Added a Ruby script to automatically extract options & descriptions from JSLint.
- All option descriptions now start with upper case.
- Added a proper distribution (& src dist) to the build script.
- Added a
resetOptions()
call to JSLint. - Switch to a more normal Rhino function call in JSLint.lint().
- original version