Found shorthand type coercions

JS-0066
Anti-pattern
Minor
4 months ago 2 years old
Seen in 5 files
75

Unused labels found

JS-0094
Anti-pattern
Minor
4 months ago 3 years old
Seen in 1 file
1

Prefer adding u flag in regular expressions

JS-0117
Anti-pattern
Minor
4 months ago 3 years old
Seen in 2 files
10

The usage of __proto__ property is not recommended

JS-0084
Anti-pattern
Minor
4 months ago 2 years old
Seen in 1 file
1

Useless template literal found

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

Logical operator can be refactored to optional chain

JS-W1044
Anti-pattern
Minor
4 months ago 4 months old
Seen in 8 files
72

Found new operators with the String, Number and Boolean Objects

JS-0080
Anti-pattern
Minor
4 months ago 2 years old
Seen in 1 file
1

Avoid using promises in places not designed to handle them

JS-0336
Anti-pattern
Major
4 months ago 3 years old
Seen in 2 files
2

Assignment found where both sides are exactly the same

JS-0088
Anti-pattern
Major
4 months ago 3 years old
Seen in 1 file
1

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

JS-0045
Anti-pattern
Minor
4 months ago 3 years old
Seen in 9 files
86

Use shorthand property syntax for object literals

JS-0240
Anti-pattern
Minor
4 months ago 3 years old
Seen in 3 files
340

Require template literals instead of string concatenation

JS-0246
Anti-pattern
Minor
4 months ago 3 years old
Seen in 21 files
259

Found empty block statements

JS-0009
Anti-pattern
Minor
4 months ago 3 years old
Seen in 2 files
6

Throwing literals as exceptions is not recommended

JS-0091
Anti-pattern
Minor
4 months ago 3 years old
Seen in 2 files
5

Prefer var declarations be placed at the top of their scope

JS-0102
Anti-pattern
Minor
4 months ago 3 years old
Seen in 9 files
171

Invalid variable usage

JS-0043
Anti-pattern
Minor
4 months ago 3 years old
Seen in 4 files
278

Found unnecessary escape characters

JS-0097
Anti-pattern
Minor
4 months ago 3 years old
Seen in 2 files
12

Usage of comma operators should be avoided

JS-0090
Anti-pattern
Minor
4 months ago 3 years old
Seen in 2 files
382

Require rest parameters instead of arguments

JS-0244
Anti-pattern
Minor
4 months ago 3 years old
Seen in 2 files
79

Found no return statements in callbacks of array methods

JS-0042
Anti-pattern
Major
4 months ago 3 years old
Seen in 1 file
2

Prefer not using an async function as a Promise executor

JS-0031
Anti-pattern
Major
4 months ago 3 years old
Seen in 2 files
2

Require spread operators instead of .apply()

JS-0245
Anti-pattern
Minor
4 months ago 3 years old
Seen in 2 files
16

Fallthrough of case statements found

JS-0064
Anti-pattern
Major
4 months ago 3 years old
Seen in 1 file
1

Prefer that for-in loops should include an if statement

JS-0051
Anti-pattern
Minor
4 months ago 3 years old
Seen in 3 files
42

No default cases in switch statements

JS-0047
Anti-pattern
Minor
4 months ago 3 years old
Seen in 6 files
10