### Required

[\[1\]](https://github.com/Munckenh/obsidian-relative-dates/blob/40e0962849b1520c1e0c32cc09e6b26ec9c78857/src/extension.ts#L4-L4)[\[2\]](https://github.com/Munckenh/obsidian-relative-dates/blob/40e0962849b1520c1e0c32cc09e6b26ec9c78857/src/main.ts#L3-L3)[\[3\]](https://github.com/Munckenh/obsidian-relative-dates/blob/40e0962849b1520c1e0c32cc09e6b26ec9c78857/src/utils.ts#L1-L1)
'moment' import is restricted from being used. The 'moment' package is bundled with Obsidian. Please import it from 'obsidian' instead.

[\[1\]](https://github.com/Munckenh/obsidian-relative-dates/blob/40e0962849b1520c1e0c32cc09e6b26ec9c78857/src/extension.ts#L4-L4)[\[2\]](https://github.com/Munckenh/obsidian-relative-dates/blob/40e0962849b1520c1e0c32cc09e6b26ec9c78857/src/main.ts#L3-L3)[\[3\]](https://github.com/Munckenh/obsidian-relative-dates/blob/40e0962849b1520c1e0c32cc09e6b26ec9c78857/src/utils.ts#L1-L1)
'moment' should be listed in the project's dependencies. Run 'npm i -S moment' to add it

[\[1\]](https://github.com/Munckenh/obsidian-relative-dates/blob/40e0962849b1520c1e0c32cc09e6b26ec9c78857/src/extension.ts#L45-L45)[\[2\]](https://github.com/Munckenh/obsidian-relative-dates/blob/40e0962849b1520c1e0c32cc09e6b26ec9c78857/src/main.ts#L156-L156)
This assertion is unnecessary since it does not change the type of the expression.

[\[1\]](https://github.com/Munckenh/obsidian-relative-dates/blob/40e0962849b1520c1e0c32cc09e6b26ec9c78857/src/main.ts#L49-L49)
Creating and attaching "style" elements is not allowed. For loading CSS, use a "styles.css" file instead, which Obsidian loads for you.



---

### Optional

