### Required

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L26-L26)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L42-L42)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L51-L51)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L54-L54)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L114-L114)[\[6\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L144-L144)[\[7\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L183-L183)[\[8\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L352-L352)[\[9\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L368-L368)[\[10\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L417-L417)[\[11\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L445-L445)[\[12\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L450-L450)[\[13\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L466-L466)[\[14\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L494-L494)[\[15\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L960-L960)[\[16\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L962-L962)[\[17\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L996-L996)[\[18\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1037-L1037)[\[19\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1047-L1047)[\[20\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1070-L1070)[\[21\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1107-L1107)[\[22\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1125-L1125)[\[23\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1163-L1163)[\[24\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1194-L1194)[\[25\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1198-L1198)[\[26\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1202-L1202)[\[27\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1203-L1203)[\[28\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1211-L1211)[\[29\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1213-L1213)[\[30\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1219-L1219)[\[31\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1220-L1220)[\[32\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1230-L1230)[\[33\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1231-L1231)[\[34\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1233-L1233)[\[35\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1243-L1243)[\[36\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1254-L1254)[\[37\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1255-L1255)[\[38\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1274-L1274)[\[39\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1275-L1275)[\[40\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1277-L1277)[\[41\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1281-L1281)[\[42\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1294-L1294)[\[43\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1315-L1315)[\[44\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1322-L1322)[\[45\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1331-L1331)[\[46\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1334-L1334)[\[47\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1343-L1343)[\[48\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1346-L1346)[\[49\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/anki-connect.ts#L527-L527)[\[50\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/anki-connect.ts#L529-L529)[\[51\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/anki-direct-exporter.ts#L319-L319)[\[52\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/anki-direct-exporter.ts#L321-L321)[\[53\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L73-L73)[\[54\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L97-L97)[\[55\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L108-L108)[\[56\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L149-L149)[\[57\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L248-L248)[\[58\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L344-L344)[\[59\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L398-L398)[\[60\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L413-L413)
Use sentence case for UI text.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L31-L31)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L44-L44)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L57-L57)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1267-L1267)
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/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L132-L132)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L150-L150)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L155-L155)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L163-L163)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L165-L165)[\[6\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L167-L167)[\[7\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L358-L358)[\[8\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L365-L365)[\[9\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L374-L374)[\[10\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L378-L378)[\[11\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L381-L381)[\[12\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L386-L386)[\[13\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L389-L389)[\[14\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L394-L394)[\[15\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L397-L397)[\[16\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L400-L400)[\[17\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L456-L456)[\[18\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L463-L463)[\[19\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L493-L493)[\[20\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L506-L506)[\[21\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/anki-connect.ts#L407-L407)[\[22\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/anki-connect.ts#L482-L482)[\[23\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/anki-direct-exporter.ts#L182-L182)[\[24\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L42-L42)[\[25\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L461-L461)[\[26\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L466-L466)[\[27\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L471-L471)[\[28\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L476-L476)[\[29\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L493-L493)[\[30\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L532-L532)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L141-L141)
Async method 'generateTriggerWordCards' has no 'await' expression.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L220-L220)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L314-L314)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L337-L337)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L577-L577)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L602-L602)[\[6\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L607-L607)[\[7\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L612-L612)[\[8\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L624-L624)[\[9\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L655-L655)[\[10\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L693-L693)[\[11\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L698-L698)[\[12\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L703-L703)[\[13\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L779-L779)[\[14\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L972-L972)[\[15\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1430-L1430)[\[16\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/anki-connect.ts#L26-L26)[\[17\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/anki-connect.ts#L44-L44)[\[18\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L442-L442)[\[19\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L557-L557)[\[20\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L276-L276)[\[21\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L288-L288)[\[22\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L300-L300)[\[23\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L312-L312)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L349-L349)
Async method 'generateQuizFromHighlights' has no 'await' expression.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L414-L414)
Async method 'generateClozeFromHighlights' has no 'await' expression.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L624-L624)
Async method 'countMarkdownFiles' has no 'await' expression.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L970-L970)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1366-L1366)
Do not access Object.prototype method 'hasOwnProperty' from target object.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1002-L1002)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1128-L1128)
Avoid setting styles directly via `element.style.maxHeight`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1003-L1003)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1129-L1129)
Avoid setting styles directly via `element.style.overflowY`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1004-L1004)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1011-L1011)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1117-L1117)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1133-L1133)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1138-L1138)[\[6\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L69-L69)[\[7\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L137-L137)[\[8\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L144-L144)[\[9\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L158-L158)[\[10\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L166-L166)[\[11\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L180-L180)[\[12\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L197-L197)[\[13\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L218-L218)[\[14\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L246-L246)
Avoid setting styles directly via `element.style.marginBottom`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1009-L1009)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1032-L1032)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1058-L1058)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1159-L1159)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L50-L50)[\[6\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L66-L66)[\[7\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L84-L84)[\[8\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L93-L93)[\[9\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L130-L130)[\[10\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L167-L167)[\[11\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L171-L171)[\[12\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L172-L172)[\[13\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L251-L251)[\[14\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L322-L322)[\[15\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L334-L334)[\[16\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L356-L356)
Avoid setting styles directly via `element.style.display`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1010-L1010)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L68-L68)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L86-L86)
Avoid setting styles directly via `element.style.alignItems`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1014-L1014)
Avoid setting styles directly via `element.style.marginRight`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1017-L1017)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L157-L157)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L350-L350)
Avoid setting styles directly via `element.style.cursor`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1033-L1033)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1059-L1059)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1160-L1160)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L67-L67)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L85-L85)
Avoid setting styles directly via `element.style.justifyContent`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1034-L1034)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1061-L1061)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1148-L1148)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L51-L51)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L87-L87)[\[6\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L212-L212)[\[7\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L239-L239)[\[8\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L345-L345)
Avoid setting styles directly via `element.style.marginTop`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1060-L1060)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1161-L1161)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L94-L94)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L252-L252)
Avoid setting styles directly via `element.style.gap`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1114-L1114)
Avoid setting styles directly via `element.style.background`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1115-L1115)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1132-L1132)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1137-L1137)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L43-L43)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L52-L52)[\[6\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L123-L123)[\[7\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L131-L131)[\[8\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L150-L150)[\[9\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L163-L163)[\[10\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L179-L179)[\[11\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L209-L209)[\[12\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L346-L346)
Avoid setting styles directly via `element.style.padding`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1116-L1116)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1131-L1131)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1140-L1140)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L54-L54)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L125-L125)[\[6\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L134-L134)[\[7\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L156-L156)[\[8\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L165-L165)[\[9\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L186-L186)[\[10\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L211-L211)[\[11\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L349-L349)
Avoid setting styles directly via `element.style.borderRadius`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1130-L1130)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1139-L1139)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L53-L53)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L124-L124)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L155-L155)[\[6\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L348-L348)
Avoid setting styles directly via `element.style.border`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1142-L1145)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L136-L136)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L143-L143)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L152-L152)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L187-L187)[\[6\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L195-L195)[\[7\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L216-L216)[\[8\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L245-L245)
Avoid setting styles directly via `element.style.fontWeight`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1149-L1149)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L77-L77)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L135-L135)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L142-L142)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L151-L151)[\[6\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L194-L194)[\[7\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L201-L201)[\[8\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L215-L215)[\[9\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L222-L222)[\[10\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L244-L244)
Avoid setting styles directly via `element.style.fontSize`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1150-L1150)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L78-L78)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L133-L133)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L154-L154)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L185-L185)[\[6\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L196-L196)[\[7\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L217-L217)[\[8\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L247-L247)[\[9\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L326-L326)[\[10\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L338-L338)
Avoid setting styles directly via `element.style.color`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1194-L1194)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1211-L1211)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1315-L1315)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1348-L1348)
Async arrow function has no 'await' expression.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/anki-connect.ts#L52-L52)
Unexpected use of 'fetch'. Use the built-in `requestUrl` function instead of `fetch` for network requests in Obsidian.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L71-L71)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L197-L197)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L305-L305)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L433-L433)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L474-L474)[\[6\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L525-L525)[\[7\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/gemini-service.ts#L555-L555)
Unexpected `await` of a non-Promise (non-"Thenable") value.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L35-L35)
Avoid setting styles directly via `element.style.maxWidth`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L36-L36)
Avoid setting styles directly via `element.style.minHeight`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L55-L55)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L126-L126)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L132-L132)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L153-L153)[\[5\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L164-L164)[\[6\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L184-L184)[\[7\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L210-L210)[\[8\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L347-L347)
Avoid setting styles directly via `element.style.backgroundColor`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L70-L70)
Avoid setting styles directly via `element.style.paddingBottom`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L71-L71)
Avoid setting styles directly via `element.style.borderBottom`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L74-L74)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L337-L337)
Avoid setting styles directly via `element.style.margin`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L88-L88)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L240-L240)
Avoid setting styles directly via `element.style.paddingTop`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L89-L89)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L241-L241)
Avoid setting styles directly via `element.style.borderTop`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L145-L145)[\[2\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L202-L202)[\[3\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L223-L223)[\[4\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L341-L341)
Avoid setting styles directly via `element.style.whiteSpace`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L159-L159)
Avoid setting styles directly via `element.style.width`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L224-L224)
Avoid setting styles directly via `element.style.fontStyle`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L253-L253)
Avoid setting styles directly via `element.style.flexWrap`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L325-L325)
Avoid setting styles directly via `element.style.textAlign`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L417-L417)
Async method 'exportToFile' has no 'await' expression.



---

### Optional

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1-L1)
'Editor' is defined but never used.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L824-L824)
'lines' is assigned a value but never used.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L947-L947)
'FolderSelectionModal' is defined but never used.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/main.ts#L1253-L1253)
'noteTypeSetting' is assigned a value but never used.

[\[1\]](https://github.com/jakeoung/obsidian-trigger-flashcards/blob/d5b68c720aa3740133abe5805bfd2acb82aced85/src/quiz-modal.ts#L1-L1)
'Setting' is defined but never used.

