RuiSiang / PoW-Shield

Found shorthand type coercions

JS-0066
Anti-pattern
Minor
8 months ago 3 years old
Seen in 1 file
1

Useless template literal found

JS-R1004
Anti-pattern
Minor
8 months ago 8 months old
Seen in 11 files
14

Prefer that for-in loops should include an if statement

JS-0051
Anti-pattern
Minor
8 months ago 8 months old
Seen in 1 file
1

Fallthrough of case statements found

JS-0064
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
2

Found unnecessary escape characters

JS-0097
Anti-pattern
Minor
8 months ago 8 months old
Seen in 2 files
3

Class methods should utilize this

JS-0105
Anti-pattern
Minor
8 months ago 8 months old
Seen in 3 files
3

Prefer the usage of regular expression literals over the RegExp constructor

JS-0115
Anti-pattern
Minor
8 months ago 8 months old
Seen in 1 file
2

Consider using arrow functions for callbacks

JS-0241
Anti-pattern
Minor
8 months ago 8 months old
Seen in 1 file
1

Require template literals instead of string concatenation

JS-0246
Anti-pattern
Minor
8 months ago 8 months old
Seen in 1 file
1

Use for-of loop for array

JS-0361
Anti-pattern
Minor
8 months ago 8 months old
Seen in 2 files
2

Found single char variable name

JS-C1002
Anti-pattern
Minor
8 months ago 8 months old
Seen in 1 file
1

Found complex boolean return

JS-W1041
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Avoid use of == and !=

JS-0050
Anti-pattern
Minor
8 months ago 3 years old
Seen in 5 files
10

Found redundant literal in a logical expression

JS-W1043
Anti-pattern
Minor
8 months ago 8 months old
Seen in 4 files
32

No default cases in switch statements

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