### Required

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/commands/next-background-command.ts#L17-L17)[\[2\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/commands/open-settings-command.ts#L13-L13)[\[3\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/commands/toggle-command.ts#L14-L14)[\[4\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L64-L64)[\[5\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L98-L98)[\[6\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L108-L108)[\[7\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L172-L172)[\[8\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L176-L176)[\[9\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L273-L273)[\[10\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L388-L388)[\[11\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L637-L637)[\[12\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L165-L165)[\[13\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L576-L576)[\[14\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L677-L677)[\[15\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L688-L688)[\[16\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L919-L919)[\[17\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L931-L931)[\[18\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L1111-L1111)[\[19\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L1320-L1320)[\[20\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L1335-L1335)
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/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L3-L3)[\[2\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L4-L4)[\[3\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L5-L5)[\[4\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L6-L6)[\[5\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L16-L16)[\[6\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L21-L21)[\[7\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L40-L40)[\[8\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L71-L71)[\[9\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L73-L73)[\[10\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L74-L74)[\[11\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L106-L106)[\[12\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L109-L109)[\[13\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L126-L126)[\[14\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L128-L128)[\[15\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L132-L132)[\[16\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L139-L139)[\[17\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L140-L140)[\[18\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L141-L141)[\[19\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L142-L142)[\[20\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L143-L143)[\[21\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L145-L145)[\[22\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L148-L148)[\[23\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L149-L149)[\[24\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L150-L150)[\[25\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L151-L151)[\[26\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L153-L153)[\[27\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L154-L154)[\[28\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L170-L170)[\[29\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L176-L176)[\[30\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L177-L177)[\[31\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L178-L178)[\[32\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L179-L179)[\[33\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L180-L180)[\[34\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L181-L181)[\[35\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L182-L182)[\[36\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L185-L185)[\[37\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L186-L186)[\[38\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L187-L187)[\[39\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L188-L188)[\[40\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L190-L190)[\[41\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L199-L199)[\[42\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L201-L201)[\[43\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L202-L202)[\[44\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L205-L205)[\[45\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L225-L225)[\[46\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L235-L235)[\[47\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L252-L252)[\[48\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/i18n/en.ts#L253-L253)[\[49\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L301-L301)[\[50\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L302-L302)[\[51\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L303-L303)[\[52\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L304-L304)[\[53\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L125-L125)[\[54\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L352-L352)[\[55\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L353-L353)[\[56\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L354-L354)[\[57\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L355-L355)
Use sentence case for UI text.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L170-L170)[\[2\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L178-L178)[\[3\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L194-L194)[\[4\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L202-L202)[\[5\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L218-L218)[\[6\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L226-L226)[\[7\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L240-L240)[\[8\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L251-L251)[\[9\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L260-L260)[\[10\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L273-L273)[\[11\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L281-L281)[\[12\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L321-L321)[\[13\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L331-L331)[\[14\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L159-L159)[\[15\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L445-L445)[\[16\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/core/api-state-manager.ts#L55-L55)
Async arrow function has no 'await' expression.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L181-L181)[\[2\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L205-L205)[\[3\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L229-L229)[\[4\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L287-L287)[\[5\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L288-L288)[\[6\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L289-L289)[\[7\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L290-L290)[\[8\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/background-modal.ts#L334-L334)[\[9\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/qihoo360.ts#L56-L56)[\[10\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/qihoo360.ts#L460-L460)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/confirm-modal.ts#L60-L60)[\[2\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/confirm-modal.ts#L61-L61)[\[3\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L448-L448)
Promise-returning function provided to property where a void return was expected.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/confirm-modal.ts#L60-L60)
Async method 'onConfirm' has no 'await' expression.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/confirm-modal.ts#L61-L61)
Async method 'onCancel' has no 'await' expression.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/wallpaper-api-modal.ts#L660-L662)[\[2\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/wallhaven.ts#L120-L120)
This assertion is unnecessary since it does not change the type of the expression.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L67-L67)[\[2\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L76-L76)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L128-L132)[\[2\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L133-L137)[\[3\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L138-L141)[\[4\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L181-L183)[\[5\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L207-L212)[\[6\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L222-L225)[\[7\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L615-L649)[\[8\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L734-L752)[\[9\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L759-L781)[\[10\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L796-L817)[\[11\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L1318-L1326)[\[12\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L1333-L1341)[\[13\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/utils/drag-sort.ts#L186-L186)[\[14\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/utils/drag-sort.ts#L194-L194)[\[15\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/core/api-state-manager.ts#L55-L83)
Promise returned in function argument where a void return was expected.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L198-L198)
Async method 'startTimeBasedManager' has no 'await' expression.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L525-L525)
Unnecessary escape character: \/.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L525-L525)
Unnecessary escape character: \*.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L525-L525)
Unnecessary escape character: \?.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L525-L525)
Unnecessary escape character: \|.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L589-L589)
Invalid type "() => string" of template literal expression.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L589-L589)
A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. 
If a function does not access `this`, it can be annotated with `this: void`.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L726-L726)
Async method 'showAddBackgroundModal' has no 'await' expression.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L758-L758)
Async method 'showEditBackgroundModal' has no 'await' expression.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L986-L986)
Invalid type "never" of template literal expression.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-view.ts#L34-L34)
Async method 'onOpen' has no 'await' expression.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-view.ts#L48-L48)
Async method 'onClose' has no 'await' expression.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/custom.ts#L119-L119)[\[2\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pexels.ts#L254-L254)[\[3\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pixabay.ts#L336-L336)[\[4\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/qihoo360.ts#L266-L266)[\[5\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/unsplash.ts#L249-L249)[\[6\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/wallhaven.ts#L328-L328)
Async method 'deinit' has no 'await' expression.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pexels.ts#L231-L231)[\[2\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pixabay.ts#L313-L313)[\[3\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/unsplash.ts#L234-L234)
Unexpected constant nullishness on the left-hand side of a `??` expression.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pexels.ts#L395-L395)
'photo.id || ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pexels.ts#L396-L396)
'src.large || src.original || src.large2x || ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pexels.ts#L399-L399)
'photo.photographer || ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pexels.ts#L400-L400)
'photo.alt || ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pexels.ts#L401-L401)
'src.original || src.large2x || src.large || ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pixabay.ts#L445-L445)
'image.id ?? ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pixabay.ts#L446-L446)
'image.largeImageURL || image.fullHDURL || image.webformatURL || ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pixabay.ts#L449-L449)
'image.user || ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pixabay.ts#L450-L450)[\[2\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pixabay.ts#L451-L451)
'image.tags || ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/pixabay.ts#L454-L454)
'image.imageURL || image.largeImageURL || image.fullHDURL || ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/unsplash.ts#L398-L398)
'photo.id ?? ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/unsplash.ts#L399-L399)
'urls.regular || urls.full || urls.raw || ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/unsplash.ts#L402-L402)
'user.name || user.username || ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/unsplash.ts#L403-L403)
'photo.description || photo.alt_description || ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/unsplash.ts#L404-L404)
'urls.full || urls.raw || ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/wallhaven.ts#L387-L387)
'apiImage.id ?? ""' will use Object's default stringification format ('[object Object]') when stringified.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/wallpaper-apis/providers/wallhaven.ts#L388-L388)
'apiImage.path ?? ""' will use Object's default stringification format ('[object Object]') when stringified.



---

### Optional

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/modals/wallpaper-api-modal.ts#L609-L609)
'error' is defined but never used.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/plugin.ts#L548-L548)
Use 'FileManager.trashFile()' instead of 'Vault.delete()' to respect the user's file deletion preference.

[\[1\]](https://github.com/sean2077/obsidian-dynamic-theme-background/blob/8dc60046a74852be24595fb1a282e23f82aa9faa/src/settings/settings-tab.ts#L106-L106)
'titleContainer' is assigned a value but never used.

