atcoder-for-chinese-developers / atcoder-for-chinese

Found shorthand type coercions

JS-0066
Anti-pattern
Minor
6 months ago a year old
Seen in 3 files
6

Avoid use of == and !=

JS-0050
Anti-pattern
Minor
6 months ago a year old
Seen in 5 files
91

Prefer that for-in loops should include an if statement

JS-0051
Anti-pattern
Minor
6 months ago a year old
Seen in 4 files
41

Detected the use of alert, confirm and prompt

JS-0052
Anti-pattern
Minor
6 months ago a year old
Seen in 2 files
22

Found empty functions

JS-0057
Anti-pattern
Minor
6 months ago a year old
Seen in 1 file
1

Prefer not to extend native types

JS-0061
Anti-pattern
Minor
6 months ago a year old
Seen in 2 files
3

Usage of comma operators should be avoided

JS-0090
Anti-pattern
Minor
6 months ago a year old
Seen in 2 files
15

Unnecessary concatenation of literals or template literals found

JS-0096
Anti-pattern
Minor
6 months ago a year old
Seen in 3 files
7

Found unnecessary escape characters

JS-0097
Anti-pattern
Minor
6 months ago a year old
Seen in 2 files
9

Initialization in variable declarations against recommended approach

JS-0119
Anti-pattern
Minor
6 months ago a year old
Seen in 2 files
39

Use shorthand property syntax for object literals

JS-0240
Anti-pattern
Minor
6 months ago a year old
Seen in 1 file
3

Consider using arrow functions for callbacks

JS-0241
Anti-pattern
Minor
6 months ago a year old
Seen in 4 files
30

Use const declarations for variables that are never reassigned

JS-0242
Anti-pattern
Minor
6 months ago a year old
Seen in 4 files
207

Require template literals instead of string concatenation

JS-0246
Anti-pattern
Minor
6 months ago a year old
Seen in 3 files
113

Found single char variable name

JS-C1002
Anti-pattern
Minor
6 months ago a year old
Seen in 3 files
52

Function with cyclomatic complexity higher than threshold

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

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

JS-0045
Anti-pattern
Minor
6 months ago a year old
Seen in 2 files
2

Found redundant return statement

JS-W1045
Anti-pattern
Minor
6 months ago 6 months old
Seen in 1 file
3