### Required

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/main.ts#L20-L20)[\[2\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/commands.ts#L10-L10)[\[3\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/commands.ts#L20-L20)[\[4\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/commands.ts#L29-L29)[\[5\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L324-L324)[\[6\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L376-L376)[\[7\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L430-L430)[\[8\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L433-L433)[\[9\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L437-L437)[\[10\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L544-L544)[\[11\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L548-L548)[\[12\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L552-L552)[\[13\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L598-L598)[\[14\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L625-L625)[\[15\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/ui/settingsComponents.ts#L38-L38)[\[16\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/ui/settingsComponents.ts#L106-L106)[\[17\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/ui/settingsComponents.ts#L110-L110)[\[18\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/ui/settingsComponents.ts#L124-L124)[\[19\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/ui/settingsComponents.ts#L215-L215)[\[20\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/ui/LnFSidebarView.ts#L214-L214)[\[21\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/ui/LnFSidebarView.ts#L325-L325)[\[22\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/ui/LnFSidebarView.ts#L338-L338)[\[23\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/ui/LnFSidebarView.ts#L342-L342)[\[24\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/ui/ResultsModal.ts#L20-L20)
Use sentence case for UI text.

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/main.ts#L39-L39)[\[2\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/main.ts#L50-L50)[\[3\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L314-L314)
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/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L430-L430)[\[2\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L544-L544)[\[3\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L598-L598)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/ui/LnFSidebarView.ts#L328-L328)
Async method 'onOpen' has no 'await' expression.

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/ui/LnFSidebarView.ts#L451-L451)
Async method 'onClose' has no 'await' expression.

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/ui/ResultsModal.ts#L17-L17)
Irregular whitespace not allowed.

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/ui/ResultsModal.ts#L31-L31)
This assertion is unnecessary since it does not change the type of the expression.



---

### Optional

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/commands.ts#L3-L3)
'encrypt' is defined but never used.

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/commands.ts#L3-L3)
'decrypt' is defined but never used.

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/settings.ts#L603-L603)[\[2\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/ui/settingsComponents.ts#L193-L193)
'statusEl' is assigned a value but never used.

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/types/settings.ts#L1-L1)
'CountryPattern' is defined but never used.

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/src/utils/countryPatterns.ts#L3-L3)
'PatternWithMetadata' is defined but never used.

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/ui/LnFSidebarView.ts#L3-L3)
'Setting' is defined but never used.

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/ui/LnFSidebarView.ts#L431-L431)
'listContainer' is assigned a value but never used.

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/ui/LnFSidebarView.ts#L559-L559)
'modeContainer' is assigned a value but never used.

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/ui/LnFSidebarView.ts#L594-L594)
'textEl' is assigned a value but never used.

[\[1\]](https://github.com/zafrem/obsidian-lock-n-find/blob/cb8525d9dd103ecf2f8f34cf17d95f4c7539f9f7/ui/ResultsModal.ts#L2-L2)
'TFile' is defined but never used.

