Closed GoogleCodeExporter closed 9 years ago
Thanks. I've verified this locally.
% java -jar ~/jslint4java-2.0.0.jar --browser --confusion jslintTest.js
jslint:jslintTest.js:8:5:Expected '}' at column 1, not column 5.
jslint:jslintTest.js:9:13:Expected 'this' at column 1, not column 13.
jslint:jslintTest.js:10:5:Expected '}' at column 1, not column 5.
I think that this has actually been fixed already as issue 62, and
independently by Doug Crockford
(https://github.com/douglascrockford/JSLint/commit/4310f67e). Suffice to say
that this will be fixed in the next release.
There are two workarounds until then:
- Specify --white.
- Download the latest jslint.js and use the "jslint" attribute to point at it.
Original comment by d...@happygiraffe.net
on 8 Sep 2011 at 7:24
Original issue reported on code.google.com by
ejsa...@gmail.com
on 4 Sep 2011 at 1:34Attachments: