### Required

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L8-L8)[\[2\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L71-L71)[\[3\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L172-L172)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L26-L26)[\[2\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L204-L204)[\[3\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L376-L376)
Unnecessary escape character: \-.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L40-L40)
`activeLeaf` is deprecated. The use of this field is discouraged.
The recommended alternatives are:
- If you need information about the current view, use {@link Workspace.getActiveViewOfType}.
- If you need to open a new file or navigate a view, use {@link Workspace.getLeaf}.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L97-L97)
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/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L99-L99)
`type` is deprecated. [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/type)

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L339-L339)[\[2\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L47-L47)
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/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L389-L389)[\[2\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L397-L397)
Do not access Object.prototype method 'hasOwnProperty' from target object.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L117-L117)[\[2\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L140-L140)[\[3\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L162-L162)[\[4\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L176-L176)
Use sentence case for UI text.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L286-L286)[\[2\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L303-L303)
Avoid setting styles directly via `element.style.color`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L287-L287)
Avoid setting styles directly via `element.style.padding`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L288-L288)
Avoid setting styles directly via `element.style.borderRadius`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L289-L289)
Avoid setting styles directly via `element.style.fontSize`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L290-L290)
Avoid setting styles directly via `element.style.fontWeight`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L291-L291)
Avoid setting styles directly via `element.style.marginRight`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L292-L292)
Avoid setting styles directly via `element.style.display`. Use CSS classes for better theming and maintainability.



---

### Optional

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L1-L1)
'App' is defined but never used.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L1-L1)
'Editor' is defined but never used.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L1-L1)
'MarkdownView' is defined but never used.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L1-L1)[\[2\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/settings.ts#L1-L1)
'Modal' is defined but never used.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L1-L1)
'Notice' is defined but never used.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L1-L1)
'PluginSettingTab' is defined but never used.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L1-L1)
'Setting' is defined but never used.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L74-L74)
'viewType' is assigned a value but never used.

[\[1\]](https://github.com/rafjaf/obsidian-colored-bases-properties/blob/678bd19bc7f095685249f5467560ceb7646d97b6/main.ts#L356-L356)
'elements' is assigned a value but never used.

