### Required

[\[1\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L27-L42)[\[2\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L44-L49)
Promise-returning method provided where a void return was expected by extended/implemented type 'Plugin_2'.

[\[1\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L44-L44)
Async method 'onunload' has no 'await' expression.

[\[1\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L47-L47)[\[2\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L61-L61)[\[3\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L66-L66)[\[4\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L71-L71)[\[5\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L76-L76)[\[6\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L81-L81)[\[7\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L84-L84)[\[8\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L88-L88)[\[9\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L108-L108)[\[10\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L121-L121)[\[11\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L140-L140)[\[12\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L147-L147)[\[13\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L165-L165)[\[14\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L182-L182)[\[15\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L198-L198)[\[16\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L211-L211)[\[17\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L212-L212)
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/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L51-L51)
Async method 'removeStyle' has no 'await' expression.

[\[1\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L59-L59)
Async method 'onActiveLeafChange' has no 'await' expression.

[\[1\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L64-L64)
Async method 'onMetadataChange' has no 'await' expression.

[\[1\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L69-L69)
Async method 'onFileRename' has no 'await' expression.

[\[1\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L88-L88)
Async method 'updateStyles' has no 'await' expression.

[\[1\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L89-L89)
Promise returned in function argument where a void return was expected.

[\[1\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L92-L92)
Async method 'updateStyle' has no 'await' expression.

[\[1\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L108-L108)
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/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L122-L122)
Async method 'applyRules' has no 'await' expression.

[\[1\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/main.ts#L125-L125)
This assertion is unnecessary since it does not change the type of the expression.

[\[1\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L58-L58)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.

[\[1\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L58-L58)[\[2\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L64-L64)[\[3\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L175-L175)[\[4\]](https://github.com/andresgongora/obsidian-colorful-note-background/blob/5efd331b1f7855986ea9ecb9a9e962eff4ea9cf2/src/settingsTab.ts#L191-L191)
Use sentence case for UI text.



---

### Optional

