### Required

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L117-L117)[\[2\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L146-L146)[\[3\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L147-L147)[\[4\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L650-L650)[\[5\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L651-L651)
This assertion is unnecessary since it does not change the type of the expression.

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L125-L125)[\[2\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L132-L132)
't ?? ''' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L153-L153)
'v ?? ''' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L323-L323)
Unexpected use of 'fetch'. Use the built-in `requestUrl` function instead of `fetch` for network requests in Obsidian.

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L414-L414)[\[2\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L418-L418)[\[3\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L435-L435)[\[4\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L454-L454)[\[5\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L457-L457)
Unnecessary escape character: \-.

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L515-L515)
Unnecessary escape character: \[.

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L515-L515)[\[2\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L515-L515)
Unnecessary escape character: \/.

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L565-L565)[\[2\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L578-L578)[\[3\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L587-L587)[\[4\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L589-L589)[\[5\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L596-L596)[\[6\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L674-L674)
Use sentence case for UI text.

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L573-L573)[\[2\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L622-L622)
Unexpected prompt.

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L617-L617)
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.



---

### Optional

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L3-L3)
'Editor' is defined but never used.

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L3-L3)
'MarkdownView' is defined but never used.

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L3-L3)
'Modal' is defined but never used.

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L486-L486)
'stripCodeFences' is defined but never used.

[\[1\]](https://github.com/BurningHoryd/frontmatter-generator/blob/c01ac03d4e9cd327153aaba06847b865c1131232/main.ts#L496-L496)
'uniqArray' is defined but never used.

