Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/SamW7140/obsidian-storyteller-suite/blob/5dad1d6994b88ce979290d21ccf37e35f8857a41/src/main.ts#L291)][[2](https://github.com/SamW7140/obsidian-storyteller-suite/blob/5dad1d6994b88ce979290d21ccf37e35f8857a41/src/main.ts#L376)][[3](https://github.com/SamW7140/obsidian-storyteller-suite/blob/5dad1d6994b88ce979290d21ccf37e35f8857a41/src/main.ts#L495)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually a file/folder.



---

### Optional

[[1](https://github.com/SamW7140/obsidian-storyteller-suite/blob/5dad1d6994b88ce979290d21ccf37e35f8857a41/src/main.ts#L211)][[2](https://github.com/SamW7140/obsidian-storyteller-suite/blob/5dad1d6994b88ce979290d21ccf37e35f8857a41/src/main.ts#L214)][[3](https://github.com/SamW7140/obsidian-storyteller-suite/blob/5dad1d6994b88ce979290d21ccf37e35f8857a41/src/main.ts#L217)][[4](https://github.com/SamW7140/obsidian-storyteller-suite/blob/5dad1d6994b88ce979290d21ccf37e35f8857a41/src/main.ts#L220)][[5](https://github.com/SamW7140/obsidian-storyteller-suite/blob/5dad1d6994b88ce979290d21ccf37e35f8857a41/src/main.ts#L255)]:Casting to `any` should be avoided as much as possible.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.