metahkg / metahkg-web

Logical operator can be refactored to optional chain

JS-W1044
Anti-pattern
Minor
9 days ago 10 months old
Seen in 9 files
15

Found explicit type declarations

JS-0331
Anti-pattern
Major
9 days ago 2 years old
Seen in 3 files
7

Useless template literal found

JS-R1004
Anti-pattern
Minor
9 days ago a year old
Seen in 7 files
16

Found shorthand type coercions

JS-0066
Anti-pattern
Minor
9 days ago 2 years old
Seen in 4 files
15

Use // @ts-expect-error over // @ts-ignore

JS-0372
Anti-pattern
Minor
10 days ago a year old
Seen in 4 files
7

Use shorthand property syntax for object literals

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

Found empty block statements

JS-0009
Anti-pattern
Minor
a month ago 2 years old
Seen in 2 files
2

Use const declarations for variables that are never reassigned

JS-0242
Anti-pattern
Minor
10 days ago 2 years old
Seen in 3 files
5

Found // @ts-<directive> comments

JS-0295
Anti-pattern
Major
10 days ago 2 years old
Seen in 4 files
7

Detected empty functions

JS-0321
Anti-pattern
Minor
11 days ago 2 years old
Seen in 6 files
14

Detected usage of the any type

JS-0323
Anti-pattern
Critical
9 days ago 2 years old
Seen in 13 files
43

Found unnecessary fragments

JS-0424
Anti-pattern
Major
9 days ago 2 years old
Seen in 6 files
10

Found single char variable name

JS-C1002
Anti-pattern
Minor
a month ago 2 years old
Seen in 1 file
2

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

JS-0045
Anti-pattern
Minor
9 days ago a year old
Seen in 9 files
26

Prefer the usage of regular expression literals over the RegExp constructor

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

Avoid using wildcard imports

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

Found invalid characters in markup

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

Use for-of loop for array

JS-0361
Anti-pattern
Minor
10 days ago a year old
Seen in 1 file
2

Found complex boolean return

JS-W1041
Anti-pattern
Major
a month ago 6 months old
Seen in 1 file
1

Function with cyclomatic complexity higher than threshold

JS-R1005
Anti-pattern
Minor
a month ago 6 months old
Seen in 1 file
1

label tags should have a text label and an associated control

JS-0752
Anti-pattern
Minor
9 days ago a month old
Seen in 2 files
4

No default cases in switch statements

JS-0047
Anti-pattern
Minor
10 days ago 2 years old
Seen in 1 file
4

Detected the delete operator with computed key expressions

JS-0320
Anti-pattern
Minor
15 days ago 15 days old
Seen in 1 file
2

Consider using let or const instead of var

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

Require template literals instead of string concatenation

JS-0246
Anti-pattern
Minor
9 days ago 2 years old
Seen in 6 files
9