buger / goreplay

Simplify slice expression to sliced value itself

CRT-A0016
Anti-pattern
Major
2 months ago 3 years old
Seen in 2 files
3

Found variable declaration and assignment separately

SCC-S1021
Anti-pattern
Major
2 months ago 3 years old
Seen in 1 file
1

Found shorthand type coercions

JS-0066
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
3

Useless template literal found

JS-R1004
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
2

Empty slice literal used to declare a variable

GO-W1027
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
2

Consider using arrow functions for callbacks

JS-0241
Anti-pattern
Minor
2 months ago 2 months old
Seen in 2 files
25

Require template literals instead of string concatenation

JS-0246
Anti-pattern
Minor
2 months ago 2 months old
Seen in 2 files
31

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

JS-0045
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
5

No default cases in switch statements

JS-0047
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
1

Avoid use of == and !=

JS-0050
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
51

Prefer that for-in loops should include an if statement

JS-0051
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
1

Found empty functions

JS-0057
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
3

Function with cyclomatic complexity higher than threshold

GO-R1005
Anti-pattern
Minor
2 months ago 2 months old
Seen in 2 files
2

Prefer var declarations be placed at the top of their scope

JS-0102
Anti-pattern
Minor
2 months ago 2 months old
Seen in 2 files
4

Initialization in variable declarations against recommended approach

JS-0119
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
3

Use shorthand property syntax for object literals

JS-0240
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
25

Use const declarations for variables that are never reassigned

JS-0242
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
71

Require rest parameters instead of arguments

JS-0244
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
1

Found single char variable name

JS-C1002
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
14

Use wget --progress to avoid excessively bloated build logs

DOK-W1000
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
1

Found consecutive RUN commands

DOK-W1001
Anti-pattern
Minor
2 months ago 2 months old
Seen in 1 file
2

Consider using let or const instead of var

JS-0239
Anti-pattern
Major
2 months ago 2 months old
Seen in 3 files
24