### Required

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/main.ts#L7-L7)
Async method 'onload' has no 'await' expression.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/main.ts#L23-L23)[\[2\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/main.ts#L29-L29)[\[3\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/main.ts#L32-L32)[\[4\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/main.ts#L47-L47)[\[5\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/main.ts#L54-L54)[\[6\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoview.tsx#L31-L31)[\[7\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoview.tsx#L32-L32)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoplayer.tsx#L19-L19)
'never' is overridden by other types in this union type.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoplayer.tsx#L78-L78)[\[2\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoview.tsx#L38-L38)
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/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoview.tsx#L23-L23)
Use sentence case for UI text.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoview.tsx#L26-L26)[\[2\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoview.tsx#L26-L26)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoview.tsx#L37-L37)
Async method 'onOpen' has no 'await' expression.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoview.tsx#L41-L41)
Async method 'renderView' has no 'await' expression.



---

### Optional

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/main.ts#L1-L1)[\[2\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoview.tsx#L1-L1)
'App' is defined but never used.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/main.ts#L1-L1)
'ItemView' is defined but never used.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/main.ts#L1-L1)
'WorkspaceLeaf' is defined but never used.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/main.ts#L69-L69)
'parseTime' is defined but never used.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/subtitle.tsx#L1-L1)
'useState' is defined but never used.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/subtitle.tsx#L3-L3)
'subtitleItem' is defined but never used.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/subtitle.tsx#L41-L41)
'formatTime' is assigned a value but never used.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoplayer.tsx#L6-L6)
'SubtitleMap' is defined but never used.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoview.tsx#L1-L1)
'Plugin' is defined but never used.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoview.tsx#L1-L1)
'TFile' is defined but never used.

[\[1\]](https://github.com/AnruiW/obsidian-media-subtitle-plugin/blob/bdff3204c1d21798a8d7bd2fb56169a104364827/src/videoview.tsx#L2-L2)
'StrictMode' is defined but never used.

