Consider using let
or const
instead of var
JS-0239
Anti-pattern
Major
6
Avoid using console
in code that runs on browser
JS-0002
Bug risk
Major
6
Should not have unused variables
JS-0128
Bug risk
Major
1
Found no return statements in callbacks of array methods
JS-0042
Anti-pattern
Major
1
Unused return value from Array
/Object
prototype method
JS-D008
Bug risk
Major
1
Avoid square-bracket notation when accessing properties
JS-0049
Anti-pattern
Minor
1
Use shorthand property syntax for object literals
JS-0240
Anti-pattern
Minor
5
Use const
declarations for variables that are never reassigned
JS-0242
Anti-pattern
Minor
13
Require template literals instead of string concatenation
JS-0246
Anti-pattern
Minor
4
Avoid use of ==
and !=
JS-0050
Anti-pattern
Minor
1