metahkg / metahkg-server

Found shorthand type coercions

JS-0066
Anti-pattern
Minor
16 days ago 16 days old
Seen in 2 files
8

Useless template literal found

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

Logical operator can be refactored to optional chain

JS-W1044
Anti-pattern
Minor
20 days ago 20 days old
Seen in 3 files
3

Found empty block statements

JS-0009
Anti-pattern
Minor
18 days ago 2 years old
Seen in 3 files
3

Found unnecessary escape characters

JS-0097
Anti-pattern
Minor
16 days ago 2 years old
Seen in 4 files
26

Consider using arrow functions for callbacks

JS-0241
Anti-pattern
Minor
20 days ago 2 years old
Seen in 1 file
1

Use shorthand property syntax for object literals

JS-0240
Anti-pattern
Minor
20 days ago 2 years old
Seen in 4 files
4

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

JS-0045
Anti-pattern
Minor
20 days ago a year old
Seen in 48 files
64

Require template literals instead of string concatenation

JS-0246
Anti-pattern
Minor
20 days ago a year old
Seen in 1 file
1

Found consecutive RUN commands

DOK-W1001
Anti-pattern
Minor
18 days ago 18 days old
Seen in 1 file
1

Detected throwing literals as exceptions

JS-0343
Anti-pattern
Minor
20 days ago a year old
Seen in 1 file
2

Use type parameter when calling Array#reduce

JS-0369
Anti-pattern
Minor
20 days ago a year old
Seen in 1 file
1

Bad function overloading

JS-0388
Anti-pattern
Minor
20 days ago a year old
Seen in 1 file
3

Found complex boolean return

JS-W1041
Anti-pattern
Major
18 days ago a year old
Seen in 1 file
2

Function with cyclomatic complexity higher than threshold

JS-R1005
Anti-pattern
Minor
20 days ago 20 days old
Seen in 1 file
1

Invalid async keyword

JS-0376
Anti-pattern
Minor
20 days ago 2 years old
Seen in 3 files
3

Found single char variable name

JS-C1002
Anti-pattern
Minor
20 days ago 2 years old
Seen in 2 files
2

Avoid using wildcard imports

JS-C1003
Anti-pattern
Minor
16 days ago 2 years old
Seen in 1 file
1