Prefer adding
u
flag in regular expressions JS-0117 × 2Found shorthand type coercions JS-0066 × 1
Invalid variable usage
JS-0043
Anti-pattern
Critical
41
Found unsafe function declarations
JS-0073
Bug risk
Major
5
eval()
should not be used
JS-0060
Security
Major
10
Consider using let
or const
instead of var
JS-0239
Anti-pattern
Major
23
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
1
Use shorthand property syntax for object literals
JS-0240
Anti-pattern
Minor
22
Require rest parameters instead of arguments
JS-0244
Anti-pattern
Minor
12
Found empty functions
JS-0057
Anti-pattern
Minor
3
Detected the use of alert
, confirm
and prompt
JS-0052
Anti-pattern
Minor
15