### Required

[\[1\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/main.ts#L24-L24)[\[2\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/main.ts#L48-L48)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/main.ts#L36-L36)[\[2\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L61-L61)
Expected an assignment or function call and instead saw an expression.

[\[1\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/main.ts#L89-L91)[\[2\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/main.ts#L120-L122)[\[3\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/main.ts#L127-L127)
This assertion is unnecessary since it does not change the type of the expression.

[\[1\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L15-L15)[\[2\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L88-L88)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.

[\[1\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L15-L15)[\[2\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L88-L88)[\[3\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L90-L90)[\[4\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L180-L180)
Use sentence case for UI text.

[\[1\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L109-L114)[\[2\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L124-L128)[\[3\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L143-L147)[\[4\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L153-L157)
Promise returned in function argument where a void return was expected.

[\[1\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L118-L118)[\[2\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L132-L132)
Avoid setting styles directly via `element.style.display`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L119-L119)[\[2\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L133-L133)
Avoid setting styles directly via `element.style.alignItems`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L120-L120)[\[2\]](https://github.com/bjornclauw/obsidian-colorful-folder-tabs/blob/ebdd44cc79c65411a9bbbabee52c12cf01e40a50/src/settings-tab.ts#L134-L134)
Avoid setting styles directly via `element.style.gap`. Use CSS classes for better theming and maintainability.



---

### Optional

