Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: JAVASCRIPT-0.3, JAVASCRIPT-0.4
-
Fix Version/s: None
-
Component/s: JavaScript
-
Labels:None
-
Number of attachments :
Description
Plugin should be updated to use latest version of http://code.google.com/p/jslint4java/. Major changes in jslint4java:
Version 1.4.7
- changes in options: adds the continue option, whilst removing eqeqeq, immed and laxbreak options
- warning messages are changed and should be updated
Version 2.0.0
- 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 of strict.
- confusion, allows inconsistent types.
- vars, to tolerate multiple var declarations per function (replaces onevar).
- eqeq, to tolerate "==" and "!=".
- node, to predefine node.js globals.
- properties, to require declaration of all properties.
- unparam, to allow unused parameters.
- Removed options:
- onevar
- strict
Version 2.0.2
- Removed option:
- adsafe
- confusion
- safe
- New Options
- anon
Issue Links
- is depended upon by
-
SONARPLUGINS-1669
Would like a way to set JSLint Rules
-
- is duplicated by
-
SONARPLUGINS-1669
Would like a way to set JSLint Rules
-
- is superceded by
-
SONARPLUGINS-1829
Do not use jslint4java
-
This is really, really important! Current JSLint is from 2010, and uses a completely different in-file options set than current versions.