metahkg / metahkg-web

Logical operator can be refactored to optional chain

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

Found shorthand type coercions

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

Useless template literal found

JS-R1004
Anti-pattern
Minor
14 days ago a year old
Seen in 7 files
12

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

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

Found explicit type declarations

JS-0331
Anti-pattern
Major
14 days ago 2 years old
Seen in 3 files
5

Detected empty functions

JS-0321
Anti-pattern
Minor
16 days ago 2 years old
Seen in 6 files
7

Use const declarations for variables that are never reassigned

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

Consider using let or const instead of var

JS-0239
Anti-pattern
Major
25 days ago 2 years old
Seen in 1 file
1

Found unnecessary fragments

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

Found single char variable name

JS-C1002
Anti-pattern
Minor
25 days ago 2 years old
Seen in 1 file
2

Require template literals instead of string concatenation

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

Found empty block statements

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

No default cases in switch statements

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

Use shorthand property syntax for object literals

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

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

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

Prefer the usage of regular expression literals over the RegExp constructor

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

Avoid using wildcard imports

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

Found invalid characters in markup

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

Use for-of loop for array

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

Found complex boolean return

JS-W1041
Anti-pattern
Major
25 days ago 10 months old
Seen in 1 file
1

Function with cyclomatic complexity higher than threshold

JS-R1005
Anti-pattern
Minor
25 days 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
14 days ago 25 days old
Seen in 2 files
2

Found // @ts-<directive> comments

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

Detected the delete operator with computed key expressions

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

Detected usage of the any type

JS-0323
Anti-pattern
Critical
14 days ago 2 years old
Seen in 13 files
25