### Required

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L35-L35)[\[2\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L40-L40)[\[3\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L113-L116)[\[4\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L124-L124)[\[5\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L135-L135)[\[6\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L146-L146)[\[7\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L176-L176)[\[8\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/anki.ts#L72-L72)[\[9\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L86-L86)[\[10\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L89-L89)[\[11\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L120-L120)[\[12\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L141-L141)[\[13\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L177-L177)[\[14\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L210-L210)[\[15\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L237-L237)[\[16\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L256-L256)[\[17\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L271-L271)[\[18\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L284-L284)[\[19\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L299-L299)[\[20\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L324-L324)[\[21\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L345-L345)[\[22\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L357-L357)
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/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L48-L48)
Promise returned in function argument where a void return was expected.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L87-L87)
Expected non-Promise value in a boolean conditional.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L102-L104)
Promise-returning method provided where a void return was expected by extended/implemented type 'Plugin'.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L183-L183)[\[2\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L201-L201)
Obsidian's configuration folder is not necessarily `.obsidian`, it can be configured by the user.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L293-L293)
Async arrow function has no 'await' expression.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L371-L371)
Avoid casting to 'TFile'. Use an 'instanceof TFile' check to safely narrow the type.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/entities/card.ts#L76-L76)[\[2\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/anki.ts#L315-L315)[\[3\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/parser.ts#L585-L585)[\[4\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/parser.ts#L588-L588)[\[5\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/regex.ts#L49-L49)
Unexpected undescribed directive comment. Include descriptions to explain why the comment is necessary.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/entities/card.ts#L76-L76)
Disabling '@typescript-eslint/no-explicit-any' is not allowed.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/entities/card.ts#L77-L77)
'any' overrides all other types in this union type.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/anki.ts#L92-L92)[\[2\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/anki.ts#L392-L392)
Unexpected use of 'fetch'. Use the built-in `requestUrl` function instead of `fetch` for network requests in Obsidian.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/anki.ts#L415-L415)
'multiParams.actions?.[i]' may use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/anki.ts#L415-L415)
Invalid type "{ action: string; params: T; } | undefined" of template literal expression.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/anki.ts#L436-L436)
Unexpected constant binary expression. Compares constantly with the right-hand side of the `===`.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/cards.ts#L157-L157)
This assertion is unnecessary since it does not change the type of the expression.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/cards.ts#L202-L202)
'mediaLink' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/cards.ts#L202-L202)
Invalid type "MediaLinkImmediate" of template literal expression.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/parser.ts#L417-L417)
0 is overridden by number in this union type.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/parser.ts#L585)[\[2\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/parser.ts#L588)
Unused eslint-disable directive (no problems were reported from 'prefer-const').

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L12-L12)[\[2\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L64-L64)[\[3\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L68-L68)[\[4\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L72-L72)[\[5\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L77-L77)[\[6\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L102-L102)[\[7\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L127-L127)[\[8\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L184-L184)[\[9\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L217-L217)[\[10\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L306-L306)[\[11\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L352-L352)
Use sentence case for UI text.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/gui/settings-tab.ts#L64-L64)
Avoid using "settings" in settings headings.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/utils.ts#L19-L19)[\[2\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/utils.ts#L33-L33)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/utils.ts#L61-L61)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.



---

### Optional

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/main.ts#L372-L372)
Use 'FileManager.trashFile()' instead of 'Vault.delete()' to respect the user's file deletion preference.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/entities/inlinecard.ts#L7-L7)
'fields' is assigned a value but never used.

[\[1\]](https://github.com/becknik/obsidian-anki-flashcards/blob/5bc536d347eb4ef07e68dbbba5b61ea9485ed697/src/generation/cards.ts#L2-L2)
'normalizePath' is defined but never used.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed some changes to your repository the bot will rescan within 6 hours
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.
To run these checks locally, install the [eslint plugin](https://github.com/obsidianmd/eslint-plugin) in your project.
Do <b>NOT</b> rebase this PR, this will be handled by the reviewer once the plugin has been approved.