### Required

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/esbuild.config.mjs#L12-L12)
'process' is not defined.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L42-L155)
Promise-returning method provided where a void return was expected by extended/implemented type 'Plugin_2'.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L79-L79)[[2]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L82-L82)[[3]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L119-L119)[[4]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L130-L130)[[5]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L138-L138)[[6]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L140-L140)[[7]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L145-L145)[[8]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L117-L117)
Unexpected any. Specify a different type.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L80-L80)
Unsafe argument of type `any` assigned to a parameter of type `{}`.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L81-L81)[[2]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L145-L145)
Unsafe return of a value of type `any`.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L81-L81)
Unsafe member access [key] on an `any` value.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L92-L92)
Unsafe argument of type `any[]` assigned to a parameter of type `TFile[]`.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L118-L122)[[2]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L129-L133)[[3]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L139-L145)
Unsafe assignment of type `any[]` to a variable of type `TFile[]`.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L127-L127)[[2]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L162-L162)[[3]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L118-L118)
Unsafe assignment of an `any` value.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L127-L127)
Unsafe call of a(n) `Function` typed value.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L139-L139)
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L141-L141)[[2]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L143-L143)[[3]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L145-L145)
Unsafe member access .file on an `any` value.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L142-L142)
Unsafe member access .selected on an `any` value.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L143-L143)
Unsafe argument of type `any` assigned to a parameter of type `string`.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L143-L143)[[2]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L118-L118)
Unsafe call of a(n) `any` typed value.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L183-L183)[[2]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L318-L318)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L287-L294)[[2]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L340-L344)[[3]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L580-L600)[[4]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L113-L158)[[5]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L127-L150)[[6]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L389-L397)
Promise returned in function argument where a void return was expected.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L299-L299)[[2]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L99-L99)
Use sentence case for UI text.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L353-L353)[[2]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L127-L127)
Async arrow function has no 'await' expression.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L523-L523)[[2]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L524-L524)[[3]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L269-L269)[[4]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L303-L303)[[5]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L321-L321)[[6]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L321-L321)[[7]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L413-L413)[[8]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L414-L414)[[9]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L415-L415)[[10]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L416-L416)[[11]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L417-L417)[[12]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L418-L418)[[13]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L419-L419)[[14]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L423-L423)
Expected non-Promise value in a boolean conditional.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L582-L582)[[2]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L391-L391)[[3]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L628-L628)
Unexpected alert.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L118-L118)
Unsafe member access .getBasePath on an `any` value.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L478-L478)
Expected an assignment or function call and instead saw an expression.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L649-L649)
Creating and attaching "style" elements is not allowed. For loading CSS, use a "styles.css" file instead, which Obsidian loads for you.



---

### Optional

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L1-L1)
'Editor' is defined but never used.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L1-L1)
'MarkdownView' is defined but never used.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L1-L1)[[2]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L643-L643)
'Notice' is defined but never used.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L1-L1)[[2]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L1-L1)
'FileSystemAdapter' is defined but never used.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/main.ts#L148-L148)
'error' is defined but never used.

[[1]](https://github.com/fspacesh/Obsidian_Add_Watermark/blob/1715ea4d8e9c21b0be4a02173d6d491b9cde6afb/src/watermark.ts#L118-L118)
'folderPath' is assigned a value but never used.

