jamesrowanhewitt / juice-shop-master

Found shorthand type coercions

JS-0066
Anti-pattern
Minor
a year ago a year old
Seen in 6 files
9

Found explicit type declarations

JS-0331
Anti-pattern
Major
a year ago a year old
Seen in 36 files
88

Useless template literal found

JS-R1004
Anti-pattern
Minor
a year ago a year old
Seen in 2 files
2

Prefer not using an async function as a Promise executor

JS-0031
Anti-pattern
Major
a year ago a year old
Seen in 1 file
1

Either all code paths should have explicit returns, or none of them

JS-0045
Anti-pattern
Minor
a year ago a year old
Seen in 10 files
16

No default cases in switch statements

JS-0047
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
3

Avoid use of == and !=

JS-0050
Anti-pattern
Minor
a year ago a year old
Seen in 12 files
20

Prefer that for-in loops should include an if statement

JS-0051
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
1

Unnecessary concatenation of literals or template literals found

JS-0096
Anti-pattern
Minor
a year ago a year old
Seen in 2 files
2

Class methods should utilize this

JS-0105
Anti-pattern
Minor
a year ago a year old
Seen in 20 files
34

Consider using let or const instead of var

JS-0239
Anti-pattern
Major
a year ago a year old
Seen in 1 file
2

Use shorthand property syntax for object literals

JS-0240
Anti-pattern
Minor
a year ago a year old
Seen in 39 files
95

Consider using arrow functions for callbacks

JS-0241
Anti-pattern
Minor
a year ago a year old
Seen in 14 files
25

Require rest parameters instead of arguments

JS-0244
Anti-pattern
Minor
a year ago a year old
Seen in 3 files
6

Require spread operators instead of .apply()

JS-0245
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
1

Require template literals instead of string concatenation

JS-0246
Anti-pattern
Minor
a year ago a year old
Seen in 117 files
756

Found consecutive RUN commands

DOK-W1001
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
9

Use of a banned type detected

JS-0296
Anti-pattern
Major
a year ago a year old
Seen in 23 files
43

Detected empty functions

JS-0321
Anti-pattern
Minor
a year ago a year old
Seen in 11 files
16

Detected usage of the any type

JS-0323
Anti-pattern
Critical
a year ago a year old
Seen in 196 files
587

Avoid using promises in places not designed to handle them

JS-0336
Anti-pattern
Major
a year ago a year old
Seen in 1 file
1

Detected the use of variables before they are defined

JS-0357
Anti-pattern
Major
a year ago a year old
Seen in 10 files
54

Detected the use of require statements except in import statements

JS-0359
Anti-pattern
Major
a year ago a year old
Seen in 128 files
505

Invalid async keyword

JS-0376
Anti-pattern
Minor
a year ago a year old
Seen in 8 files
11

Prefer that unbound methods are called with their expected scope

JS-0387
Anti-pattern
Major
a year ago a year old
Seen in 20 files
53