### Required

[\[1\]](https://github.com/pluppen/obsidian-vault-encrypt-plugin/blob/843dbdc0fb9979476738b8dd0db374851e34e895/main.ts#L616-L616)[\[2\]](https://github.com/pluppen/obsidian-vault-encrypt-plugin/blob/843dbdc0fb9979476738b8dd0db374851e34e895/main.ts#L774-L774)[\[3\]](https://github.com/pluppen/obsidian-vault-encrypt-plugin/blob/843dbdc0fb9979476738b8dd0db374851e34e895/main.ts#L786-L786)[\[4\]](https://github.com/pluppen/obsidian-vault-encrypt-plugin/blob/843dbdc0fb9979476738b8dd0db374851e34e895/main.ts#L796-L796)
Use sentence case for UI text.

[\[1\]](https://github.com/pluppen/obsidian-vault-encrypt-plugin/blob/843dbdc0fb9979476738b8dd0db374851e34e895/main.ts#L667-L667)
Async method 'encryptVault' has no 'await' expression.

[\[1\]](https://github.com/pluppen/obsidian-vault-encrypt-plugin/blob/843dbdc0fb9979476738b8dd0db374851e34e895/main.ts#L683-L701)[\[2\]](https://github.com/pluppen/obsidian-vault-encrypt-plugin/blob/843dbdc0fb9979476738b8dd0db374851e34e895/main.ts#L705-L723)
Promise returned in function argument where a void return was expected.

[\[1\]](https://github.com/pluppen/obsidian-vault-encrypt-plugin/blob/843dbdc0fb9979476738b8dd0db374851e34e895/main.ts#L704-L704)
Async method 'decryptVault' has no 'await' expression.



---

### Optional

[\[1\]](https://github.com/pluppen/obsidian-vault-encrypt-plugin/blob/843dbdc0fb9979476738b8dd0db374851e34e895/main.ts#L252-L252)[\[2\]](https://github.com/pluppen/obsidian-vault-encrypt-plugin/blob/843dbdc0fb9979476738b8dd0db374851e34e895/main.ts#L358-L358)[\[3\]](https://github.com/pluppen/obsidian-vault-encrypt-plugin/blob/843dbdc0fb9979476738b8dd0db374851e34e895/main.ts#L365-L365)
Use 'FileManager.trashFile()' instead of 'Vault.delete()' to respect the user's file deletion preference.

[\[1\]](https://github.com/pluppen/obsidian-vault-encrypt-plugin/blob/843dbdc0fb9979476738b8dd0db374851e34e895/main.ts#L288-L288)
'error' is defined but never used.

