kylerchin / adorabot

Found explicit type declarations

JS-0331
Anti-pattern
Major
5 months ago 10 months old
Seen in 11 files
25

Useless template literal found

JS-R1004
Anti-pattern
Minor
5 months ago 10 months old
Seen in 13 files
30

Logical operator can be refactored to optional chain

JS-W1044
Anti-pattern
Minor
5 months ago 10 months old
Seen in 2 files
3

Found shorthand type coercions

JS-0066
Anti-pattern
Minor
5 months ago 10 months old
Seen in 2 files
2

Require template literals instead of string concatenation

JS-0246
Anti-pattern
Minor
5 months ago 10 months old
Seen in 24 files
71

Require spread operators instead of .apply()

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

Detected the use of variables before they are defined

JS-0357
Anti-pattern
Major
5 months ago 10 months old
Seen in 2 files
7

Consider using arrow functions for callbacks

JS-0241
Anti-pattern
Minor
5 months ago 10 months old
Seen in 30 files
76

Invalid async keyword

JS-0376
Anti-pattern
Minor
5 months ago 10 months old
Seen in 35 files
91

Prefer the usage of regular expression literals over the RegExp constructor

JS-0115
Anti-pattern
Minor
5 months ago 10 months old
Seen in 2 files
4

Invalid variable usage

JS-0043
Anti-pattern
Critical
5 months ago 10 months old
Seen in 6 files
116

Prefer var declarations be placed at the top of their scope

JS-0102
Anti-pattern
Minor
5 months ago 10 months old
Seen in 40 files
443

Use const declarations for variables that are never reassigned

JS-0242
Anti-pattern
Minor
5 months ago 10 months old
Seen in 9 files
13

Use of a banned type detected

JS-0296
Anti-pattern
Major
5 months ago 10 months old
Seen in 2 files
2

Detected empty functions

JS-0321
Anti-pattern
Minor
5 months ago 10 months old
Seen in 4 files
5

Detected usage of the any type

JS-0323
Anti-pattern
Critical
5 months ago 10 months old
Seen in 28 files
76

Avoid using promises in places not designed to handle them

JS-0336
Anti-pattern
Major
5 months ago 10 months old
Seen in 10 files
26

Found single char variable name

JS-C1002
Anti-pattern
Minor
5 months ago 10 months old
Seen in 6 files
8

Avoid using wildcard imports

JS-C1003
Anti-pattern
Minor
5 months ago 10 months old
Seen in 9 files
12

Avoid using lexical declarations in case clauses

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

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

JS-0045
Anti-pattern
Minor
5 months ago 10 months old
Seen in 14 files
19

Prefer not using an async function as a Promise executor

JS-0031
Anti-pattern
Major
5 months ago 10 months old
Seen in 4 files
4

Avoid square-bracket notation when accessing properties

JS-0049
Anti-pattern
Minor
5 months ago 10 months old
Seen in 1 file
6

No default cases in switch statements

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

Assignment operators should not be used in return statements

JS-0086
Anti-pattern
Minor
5 months ago 10 months old
Seen in 1 file
1