Invalid variable usage
JS-0043
Anti-pattern
Critical
37
Consider using let
or const
instead of var
JS-0239
Anti-pattern
Major
17
Avoid using console
in code that runs on browser
JS-0002
Bug risk
Major
2
Should not have unused variables
JS-0128
Bug risk
Major
3
Avoid square-bracket notation when accessing properties
JS-0049
Anti-pattern
Minor
3
Prefer that for-in
loops should include an if
statement
JS-0051
Anti-pattern
Minor
2
Found redeclared variables
JS-0085
Bug risk
Minor
6
Avoid use of ==
and !=
JS-0050
Anti-pattern
Minor
6
Prefer var declarations be placed at the top of their scope
JS-0102
Anti-pattern
Minor
12
Either all code paths should have explicit returns, or none of them
JS-0045
Anti-pattern
Minor
1