### Required

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/command/commandCallback.ts#L21-L21)
Unsafe argument of type `any` assigned to a parameter of type `string | DocumentFragment`.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/command/patternParser.ts#L130-L130)
Unsafe argument of type `any` assigned to a parameter of type `string`.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L20-L20)[[2]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/settings/components/ActionsHeader.utils.ts#L10-L10)
Unsafe assignment of an `any` value.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L46-L46)[[2]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L47-L47)
Unsafe assignment of an error typed value.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L46-L46)[[2]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L47-L47)[[3]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L48-L48)[[4]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L49-L49)
Unsafe call of a(n) `error` type typed value.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L46-L46)
Unsafe member access .listCommands on an `error` typed value.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L47-L47)
Unsafe member access .filter on an `error` typed value.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L47-L47)
Unsafe return of a value of type `any`.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L47-L47)
Unsafe call of a(n) `any` typed value.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L47-L47)[[2]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L49-L49)
Unsafe member access .id on an `any` value.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L48-L48)
Unsafe member access .forEach on an `error` typed value.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/main.ts#L49-L49)
Unsafe member access .removeCommand on an `error` typed value.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/noteCreator.test.ts#L31-L31)[[2]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/noteCreator.test.ts#L32-L32)[[3]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/noteCreator.test.ts#L43-L43)[[4]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/noteCreator.test.ts#L44-L44)[[5]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/noteCreator.test.ts#L45-L45)[[6]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/obsidianAdapter.test.ts#L28-L28)[[7]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/obsidianAdapter.test.ts#L43-L43)[[8]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/obsidianAdapter.test.ts#L53-L53)[[9]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/obsidianAdapter.test.ts#L60-L60)[[10]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/obsidianAdapter.test.ts#L79-L79)[[11]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/obsidianAdapter.test.ts#L80-L80)[[12]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/obsidianAdapter.test.ts#L81-L81)[[13]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/obsidianAdapter.test.ts#L94-L94)[[14]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/obsidianAdapter.test.ts#L95-L95)[[15]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/obsidianAdapter.test.ts#L109-L109)[[16]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/__tests__/obsidianAdapter.test.ts#L110-L110)
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/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/obsidianAdapter.ts#L21-L21)[[2]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/notes/obsidianAdapter.ts#L48-L48)
Expected the Promise rejection reason to be an Error.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/settings/components/ActionsHeader.utils.ts#L15-L15)[[2]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/settings/components/ActionsHeader.utils.ts#L21-L21)
Unexpected alert.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/settings/components/__tests__/index.test.tsx#L102-L102)[[2]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/settings/components/__tests__/index.test.tsx#L203-L203)
This assertion is unnecessary since it does not change the type of the expression.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/settings/components/index.tsx#L61-L61)[[2]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/settings/components/index.tsx#L68-L68)[[3]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/settings/components/index.tsx#L69-L69)
Promise-returning function provided to attribute where a void return was expected.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/test-support/__mocks__/obsidian.ts#L22-L22)
Avoid casting to 'TFile'. Use an 'instanceof TFile' check to safely narrow the type.

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/test-support/__mocks__/obsidian.ts#L32-L32)
Avoid casting to 'TFolder'. Use an 'instanceof TFolder' check to safely narrow the type.



---

### Optional

[[1]](https://github.com/iparips/open-or-create-file-obsidian-plugin/blob/49ed40ef5264757159f1e0f48c5c060e1fd3e17b/src/settings/components/ActionsHeader.utils.ts#L20-L20)
'err' is defined but never used.

