### Required

[\[1\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/main.ts#L27-L27)[\[2\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/main.ts#L34-L34)[\[3\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/main.ts#L146-L146)[\[4\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/main.ts#L170-L170)[\[5\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/components.ts#L170-L170)[\[6\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/components.ts#L188-L188)[\[7\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/components.ts#L260-L260)[\[8\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/states.ts#L33-L33)[\[9\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/states.ts#L49-L49)[\[10\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/states.ts#L65-L65)[\[11\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/states.ts#L87-L87)[\[12\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/settings-tab.ts#L20-L20)[\[13\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/settings-tab.ts#L28-L28)[\[14\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/settings-tab.ts#L56-L56)
Use sentence case for UI text.

[\[1\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/__tests__/card-storage.test.ts#L40-L40)
`elapsed_days` is deprecated. This field will be removed in version 6.0.0

[\[1\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/managers/card-storage.ts#L321-L334)[\[2\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/managers/daily-limit.ts#L83-L95)[\[3\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/components.ts#L278-L278)[\[4\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/modal.ts#L97-L97)[\[5\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/modal.ts#L106-L106)
Promise returned in function argument where a void return was expected.

[\[1\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/managers/card-storage.ts#L391-L391)[\[2\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/managers/card-storage.ts#L392-L392)[\[3\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/managers/card-storage.ts#L437-L437)[\[4\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/managers/daily-limit.ts#L23-L23)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/managers/card-storage.ts#L413-L413)[\[2\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/managers/card-storage.ts#L482-L482)
'error.value' may use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/managers/card-storage.ts#L413-L413)[\[2\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/managers/card-storage.ts#L482-L482)
Invalid type "{} | null" of template literal expression.

[\[1\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/components.ts#L61-L61)
Avoid setting styles directly via `element.style.width`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/components.ts#L62-L62)
Avoid setting styles directly via `element.style.height`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/components.ts#L63-L63)
Avoid setting styles directly via `element.style.color`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/components.ts#L216-L216)
Async method 'showAnswer' has no 'await' expression.

[\[1\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/components.ts#L244-L250)[\[2\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/modal.ts#L73-L73)[\[3\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/modal.ts#L177-L177)[\[4\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/modal.ts#L182-L182)[\[5\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/modal.ts#L219-L219)[\[6\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/modal.ts#L237-L237)[\[7\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/modal.ts#L242-L242)[\[8\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/modal.ts#L247-L247)[\[9\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/modal.ts#L252-L252)[\[10\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/states.ts#L102-L108)[\[11\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/states.ts#L110-L116)[\[12\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/review/states.ts#L118-L124)
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/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/components.ts#L249-L249)
Avoid using the main plugin instance as a component. Its lifecycle is too long, which can cause memory leaks.

[\[1\]](https://github.com/lucaszischka/File-Flashcards/blob/6953a79fd6d476d3af5ae9d41c2390b1422532ce/src/ui/settings-tab.ts#L20-L20)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.



---

### Optional

