### Required

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L6-L6)[\[2\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L15-L15)[\[3\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L22-L22)[\[4\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L40-L40)[\[5\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L46-L46)[\[6\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L167-L167)[\[7\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L252-L252)[\[8\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L568-L568)[\[9\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/leetcode.ts#L69-L69)[\[10\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/leetcode.ts#L80-L80)[\[11\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/leetcode.ts#L217-L217)[\[12\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/leetcode.ts#L218-L218)[\[13\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/leetcode.ts#L347-L347)[\[14\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/leetcode.ts#L403-L403)[\[15\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/leetcode.ts#L600-L600)[\[16\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/leetcode.ts#L606-L606)[\[17\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/leetcode.ts#L617-L617)[\[18\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/leetcode.ts#L727-L727)[\[19\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/leetcode.ts#L730-L730)[\[20\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/writer.ts#L41-L41)[\[21\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/writer.ts#L42-L42)[\[22\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/writer.ts#L47-L47)[\[23\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/writer.ts#L47-L47)[\[24\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/writer.ts#L57-L57)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L165-L165)
The `Function` type accepts any function-like value.
Prefer explicitly defining any function parameters and return type.

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L173-L173)
Async method 'onFileModified' has no 'await' expression.

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L179-L179)
Async method 'onFileCreated' has no 'await' expression.

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L197-L197)[\[2\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L97-L97)[\[3\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L104-L104)[\[4\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L112-L112)[\[5\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L120-L120)[\[6\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L128-L128)[\[7\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L136-L136)[\[8\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L145-L145)[\[9\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L394-L394)[\[10\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L892-L892)[\[11\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/writer.ts#L52-L52)[\[12\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/writer.ts#L53-L53)[\[13\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/writer.ts#L60-L60)[\[14\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/writer.ts#L114-L114)[\[15\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/writer.ts#L395-L395)
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator.

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L283-L283)[\[2\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L287-L287)[\[3\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L96-L96)[\[4\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L102-L102)[\[5\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L110-L110)[\[6\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L118-L118)[\[7\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L126-L126)[\[8\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L134-L134)[\[9\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L143-L143)[\[10\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L161-L161)[\[11\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L200-L200)[\[12\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L206-L206)[\[13\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L330-L330)[\[14\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L335-L335)[\[15\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L340-L340)[\[16\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L354-L354)[\[17\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L441-L441)[\[18\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L443-L443)[\[19\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L470-L470)[\[20\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L473-L473)[\[21\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L474-L474)[\[22\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L487-L487)[\[23\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L491-L491)[\[24\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L513-L513)[\[25\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L521-L521)[\[26\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L529-L529)[\[27\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L530-L530)[\[28\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L554-L554)[\[29\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L560-L560)[\[30\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L595-L595)[\[31\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L597-L597)[\[32\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L598-L598)[\[33\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L600-L600)[\[34\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L602-L602)[\[35\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L604-L604)[\[36\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L605-L605)[\[37\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L606-L606)[\[38\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L610-L610)[\[39\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L615-L615)[\[40\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L618-L618)[\[41\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L619-L619)[\[42\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L631-L631)[\[43\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L635-L635)[\[44\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L644-L644)[\[45\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L645-L645)[\[46\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L648-L648)[\[47\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L657-L657)[\[48\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L659-L659)[\[49\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L677-L677)[\[50\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L678-L678)[\[51\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L689-L689)[\[52\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L690-L690)[\[53\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L701-L701)[\[54\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L715-L715)[\[55\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L728-L728)[\[56\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L731-L731)[\[57\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L753-L753)[\[58\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L788-L788)[\[59\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L805-L805)[\[60\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L812-L812)[\[61\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L826-L826)[\[62\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L840-L840)[\[63\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L841-L841)[\[64\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L844-L844)[\[65\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L845-L845)[\[66\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L846-L846)[\[67\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L847-L847)[\[68\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L867-L867)[\[69\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L872-L872)[\[70\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L881-L881)[\[71\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L885-L885)[\[72\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L889-L889)[\[73\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L902-L902)[\[74\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/writer.ts#L108-L108)
Use sentence case for UI text.

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L534-L534)
Async method 'getProblemsInFolder' has no 'await' expression.

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/leetcode.ts#L105-L105)
Unnecessary escape character: \/.

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/leetcode.ts#L167-L167)
Async method 'getCSRFToken' has no 'await' expression.

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L155-L155)[\[2\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L381-L381)[\[3\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L425-L425)[\[4\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/writer.ts#L162-L162)[\[5\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/writer.ts#L341-L341)[\[6\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/writer.ts#L396-L396)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L222-L222)
Async method 'shouldFetchAllProblems' has no 'await' expression.

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L374-L374)
Unexpected `await` of a non-Promise (non-"Thenable") value.

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L441-L441)[\[2\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L470-L470)[\[3\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L521-L521)[\[4\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L595-L595)[\[5\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L602-L602)[\[6\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L615-L615)[\[7\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L674-L674)[\[8\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L728-L728)[\[9\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L857-L857)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/main.ts#L891-L891)
Unexpected confirm.



---

### Optional

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/bases.ts#L230-L230)
'cachedContent' is assigned a value but never used.

[\[1\]](https://github.com/yash4agr/leetfetch/blob/4def172b7c6e71a20df808ded29196f740ec2470/leetcode.ts#L336-L336)
'parseError' is defined but never used.

