### Required

[\[1\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L108-L108)[\[2\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L113-L113)
Promise returned in function argument where a void return was expected.

[\[1\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L245-L245)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.

[\[1\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L245-L245)[\[2\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L248-L248)[\[3\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L249-L249)[\[4\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L251-L251)[\[5\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L259-L259)[\[6\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L260-L260)[\[7\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L262-L262)[\[8\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L270-L270)[\[9\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L271-L271)[\[10\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L273-L273)[\[11\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L282-L282)[\[12\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L293-L293)[\[13\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L295-L295)[\[14\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L314-L314)[\[15\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L317-L317)
Use sentence case for UI text.



---

### Optional

[\[1\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L5-L5)
'Modal' is defined but never used.

[\[1\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L153-L153)
'fileExtension' is assigned a value but never used.

[\[1\]](https://github.com/moritamori/obsidian-remote-attachments/blob/e62cdfdadee7b2f9f215beb669318dcad1c0733d/main.ts#L172-L172)
'_response' is assigned a value but never used.

