### Required

[\[1\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/main.ts#L45-L45)[\[2\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/main.ts#L61-L61)[\[3\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/main.ts#L105-L105)[\[4\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L21-L21)[\[5\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L27-L27)[\[6\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L33-L33)[\[7\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L33-L33)[\[8\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L33-L33)[\[9\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L56-L56)[\[10\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L106-L106)[\[11\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L154-L154)[\[12\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L167-L167)[\[13\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L195-L195)[\[14\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L248-L248)[\[15\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L252-L252)[\[16\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L260-L260)[\[17\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L289-L289)[\[18\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L289-L289)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/main.ts#L225-L235)[\[2\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L88-L88)
Promise returned in function argument where a void return was expected.

[\[1\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/main.ts#L254-L254)[\[2\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L35-L35)[\[3\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L39-L39)[\[4\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L50-L50)[\[5\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L53-L53)[\[6\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L85-L85)[\[7\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L102-L102)[\[8\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L110-L110)[\[9\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L111-L111)[\[10\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L114-L114)[\[11\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L175-L175)[\[12\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L179-L179)[\[13\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L184-L184)[\[14\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L190-L190)
Use sentence case for UI text.

[\[1\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L23-L23)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L236-L236)[\[2\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/services/telegram.ts#L277-L277)
Unexpected use of 'fetch'. Use the built-in `requestUrl` function instead of `fetch` for network requests in Obsidian.

[\[1\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L35-L35)[\[2\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L50-L50)[\[3\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L80-L80)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.

[\[1\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L104-L104)[\[2\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L116-L116)[\[3\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L128-L128)[\[4\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L137-L137)
Async arrow function has no 'await' expression.

[\[1\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L161-L163)[\[2\]](https://github.com/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L202-L204)
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/mkremnev/obsidian-smm-sender/blob/d0e7ebc28777be26135c050e171bef4664b57fef/src/settings.ts#L199-L199)
Unexpected confirm.



---

### Optional

