### Required

[\[1\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L28-L28)[\[2\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L523-L523)
Obsidian's configuration folder is not necessarily `.obsidian`, it can be configured by the user.

[\[1\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L39-L39)[\[2\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L47-L47)
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/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L110-L110)[\[2\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L111-L111)[\[3\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L168-L168)[\[4\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L172-L172)[\[5\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L181-L181)[\[6\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L195-L195)[\[7\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L203-L203)[\[8\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L211-L211)[\[9\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L236-L236)[\[10\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L239-L239)[\[11\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L258-L258)[\[12\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L266-L266)[\[13\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L274-L274)[\[14\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L316-L316)[\[15\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L319-L319)[\[16\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L340-L340)[\[17\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L341-L341)[\[18\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L341-L341)[\[19\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L343-L343)[\[20\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L353-L353)[\[21\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L354-L354)[\[22\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L356-L356)[\[23\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L366-L366)[\[24\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L368-L368)[\[25\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L374-L374)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L473-L473)[\[2\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L584-L584)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.

[\[1\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L480-L480)[\[2\]](https://github.com/fire-disposal/filetree-text-generator/blob/cd18e6546504fafe0b1f15ea03771cabd3ac48b2/main.ts#L523-L523)
Use sentence case for UI text.



---

### Optional

