### Required

[\[1\]](https://github.com/k0src/Floating-Headings-Obsidian-Plugin/blob/c40e1f8c1ae4ec579621a3d85e2fb2bcd0efd8f4/src/EventBinder.ts#L4-L4)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/k0src/Floating-Headings-Obsidian-Plugin/blob/c40e1f8c1ae4ec579621a3d85e2fb2bcd0efd8f4/src/FloatingHeadingsSettingTab.ts#L305-L305)
Use sentence case for UI text.

[\[1\]](https://github.com/k0src/Floating-Headings-Obsidian-Plugin/blob/c40e1f8c1ae4ec579621a3d85e2fb2bcd0efd8f4/src/FloatingHeadingsSettingTab.ts#L362-L362)[\[2\]](https://github.com/k0src/Floating-Headings-Obsidian-Plugin/blob/c40e1f8c1ae4ec579621a3d85e2fb2bcd0efd8f4/src/FloatingHeadingsStateManager.ts#L139-L139)[\[3\]](https://github.com/k0src/Floating-Headings-Obsidian-Plugin/blob/c40e1f8c1ae4ec579621a3d85e2fb2bcd0efd8f4/src/FloatingHeadingsStateManager.ts#L260-L264)[\[4\]](https://github.com/k0src/Floating-Headings-Obsidian-Plugin/blob/c40e1f8c1ae4ec579621a3d85e2fb2bcd0efd8f4/src/FloatingHeadingsUIManager.ts#L568-L568)
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/k0src/Floating-Headings-Obsidian-Plugin/blob/c40e1f8c1ae4ec579621a3d85e2fb2bcd0efd8f4/src/FloatingHeadingsUIManager.ts#L75-L75)
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/k0src/Floating-Headings-Obsidian-Plugin/blob/c40e1f8c1ae4ec579621a3d85e2fb2bcd0efd8f4/src/FloatingHeadingsUIManager.ts#L415-L417)
This assertion is unnecessary since it does not change the type of the expression.

[\[1\]](https://github.com/k0src/Floating-Headings-Obsidian-Plugin/blob/c40e1f8c1ae4ec579621a3d85e2fb2bcd0efd8f4/src/FloatingHeadingsUIManager.ts#L685-L685)[\[2\]](https://github.com/k0src/Floating-Headings-Obsidian-Plugin/blob/c40e1f8c1ae4ec579621a3d85e2fb2bcd0efd8f4/src/FloatingHeadingsUIManager.ts#L700-L700)
Unexpected use of 'localStorage'. Prefer `App#saveLocalStorage` / `App#loadLocalStorage` functions to write / read localStorage data that's unique to a vault.



---

### Optional

[\[1\]](https://github.com/k0src/Floating-Headings-Obsidian-Plugin/blob/c40e1f8c1ae4ec579621a3d85e2fb2bcd0efd8f4/src/EventBinder.ts#L1-L1)[\[2\]](https://github.com/k0src/Floating-Headings-Obsidian-Plugin/blob/c40e1f8c1ae4ec579621a3d85e2fb2bcd0efd8f4/src/FloatingHeadingsSettingTab.ts#L1-L1)
'MarkdownView' is defined but never used.

[\[1\]](https://github.com/k0src/Floating-Headings-Obsidian-Plugin/blob/c40e1f8c1ae4ec579621a3d85e2fb2bcd0efd8f4/src/FloatingHeadingsSettingTab.ts#L371-L371)
'setting' is assigned a value but never used.

[\[1\]](https://github.com/k0src/Floating-Headings-Obsidian-Plugin/blob/c40e1f8c1ae4ec579621a3d85e2fb2bcd0efd8f4/src/HeadingParser.ts#L27-L27)
'cacheKey' is assigned a value but never used.

