### Required

[\[1\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L54-L54)[\[2\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L310-L310)[\[3\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L345-L345)[\[4\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L346-L346)[\[5\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L347-L347)[\[6\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L351-L351)[\[7\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L351-L351)[\[8\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L377-L377)[\[9\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L383-L383)[\[10\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L390-L390)[\[11\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L390-L390)[\[12\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L390-L390)[\[13\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L390-L390)[\[14\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L401-L401)[\[15\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L401-L401)[\[16\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L419-L419)[\[17\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L420-L420)[\[18\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L425-L425)[\[19\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L425-L425)[\[20\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L583-L583)[\[21\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1118-L1118)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L138-L138)
Async method 'detectExistingFiles' has no 'await' expression.

[\[1\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L520-L520)[\[2\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L527-L527)[\[3\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L619-L619)[\[4\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L624-L624)[\[5\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L637-L637)[\[6\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L803-L803)[\[7\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L812-L812)[\[8\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L859-L859)[\[9\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L918-L918)[\[10\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L929-L929)[\[11\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L976-L976)[\[12\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1009-L1009)[\[13\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1014-L1014)[\[14\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1029-L1029)[\[15\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1031-L1031)[\[16\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1081-L1081)[\[17\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1088-L1088)[\[18\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1089-L1089)[\[19\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1098-L1098)[\[20\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1129-L1129)[\[21\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1138-L1138)[\[22\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1151-L1151)[\[23\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1163-L1163)[\[24\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1179-L1179)
Use sentence case for UI text.

[\[1\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L521-L521)[\[2\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L529-L529)[\[3\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L604-L604)[\[4\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1076-L1076)[\[5\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1126-L1126)[\[6\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1156-L1156)[\[7\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1216-L1216)
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/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L772-L772)
Async method 'findExistingFileByKey' has no 'await' expression.

[\[1\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L895-L915)
Promise-returning method provided where a void return was expected by extended/implemented type 'PluginSettingTab'.

[\[1\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L918-L918)
Avoid using a "General" heading in settings.

[\[1\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L937-L954)
Promise returned in function argument where a void return was expected.

[\[1\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L1081-L1081)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.



---

### Optional

[\[1\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L215-L215)
Use 'FileManager.trashFile()' instead of 'Vault.delete()' to respect the user's file deletion preference.

[\[1\]](https://github.com/katomaru/figma-obsidian-sync-plugin/blob/25655ba3fe748a4764d097dcda29da11904d51d0/main.ts#L783-L783)
'error' is defined but never used.

