### Required

[\[1\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L44-L44)[\[2\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L74-L74)[\[3\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L195-L195)[\[4\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L219-L219)[\[5\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L229-L229)[\[6\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L308-L308)[\[7\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L312-L312)[\[8\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L324-L324)[\[9\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L325-L325)[\[10\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L337-L337)[\[11\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L349-L349)[\[12\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L361-L361)[\[13\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L372-L372)[\[14\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L383-L383)[\[15\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L398-L398)
Use sentence case for UI text.

[\[1\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L45-L45)[\[2\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L54-L54)[\[3\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L63-L63)[\[4\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L79-L79)
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/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L71-L71)
Async method 'checkCurrentDocument' has no 'await' expression.

[\[1\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L82-L82)
Async method 'checkWritingStyle' has no 'await' expression.

[\[1\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L308-L308)[\[2\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L383-L383)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.



---

### Optional

[\[1\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L1-L1)
'TFile' is defined but never used.

[\[1\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L259-L259)[\[2\]](https://github.com/steerpike/writing-style-checker/blob/af3a4b395581cb8f50917a61edb208ad0650521c/main.ts#L283-L283)
'highlightEl' is assigned a value but never used.

