### Required

[\[1\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L28-L28)[\[2\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L35-L35)[\[3\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L50-L50)[\[4\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L59-L59)[\[5\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L86-L86)[\[6\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L93-L93)[\[7\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L98-L98)[\[8\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L103-L103)[\[9\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L142-L142)[\[10\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L221-L221)[\[11\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L287-L287)[\[12\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L507-L507)[\[13\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L604-L604)[\[14\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L767-L767)[\[15\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L769-L769)[\[16\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L789-L789)[\[17\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/src/NewPostModal.ts#L17-L17)[\[18\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/src/NewPostModal.ts#L20-L20)
Use sentence case for UI text.

[\[1\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L29-L29)[\[2\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L61-L61)[\[3\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L88-L88)[\[4\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L99-L99)[\[5\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L104-L104)[\[6\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L230-L281)[\[7\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L475-L477)[\[8\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L793-L793)
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/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L41-L41)[\[2\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L74-L74)
Adding `command` to the command name is not necessary.

[\[1\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L514-L514)
Async method 'onOpen' has no 'await' expression.

[\[1\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L518-L600)
Creating and attaching "style" elements is not allowed. For loading CSS, use a "styles.css" file instead, which Obsidian loads for you.

[\[1\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L678-L678)[\[2\]](https://github.com/Zhongye1/obsidian-with-hexo/blob/3f9e004b6312f2e97078287424b07fc709bc23e8/main.ts#L683-L683)
Unexpected control character(s) in regular expression: \x1b.



---

### Optional

