Prefer adding
u
flag in regular expressions JS-0117 × 2Found shorthand type coercions JS-0066 × 2
Invalid variable usage
JS-0043
Anti-pattern
Critical
325
Found unsafe function declarations
JS-0073
Bug risk
Major
8
eval()
should not be used
JS-0060
Security
Major
10
Consider using let
or const
instead of var
JS-0239
Anti-pattern
Major
125
Found control characters in regular expressions
JS-0004
Bug risk
Major
1
Object.prototype
builtins should not be used directly
JS-0021
Bug risk
Major
6
Use shorthand property syntax for object literals
JS-0240
Anti-pattern
Minor
71
Require rest parameters instead of arguments
JS-0244
Anti-pattern
Minor
13
Found empty functions
JS-0057
Anti-pattern
Minor
6
Detected the use of alert
, confirm
and prompt
JS-0052
Anti-pattern
Minor
19