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

### Required

[[1](https://github.com/andyholst/obsidian-timestamp-utility/blob/72e198e16c3d2be75c6511e39dc759bc1f87fd2b/src/__tests__/main.test.ts#L60)][[2](https://github.com/andyholst/obsidian-timestamp-utility/blob/72e198e16c3d2be75c6511e39dc759bc1f87fd2b/src/__tests__/main.test.ts#L101)][[3](https://github.com/andyholst/obsidian-timestamp-utility/blob/72e198e16c3d2be75c6511e39dc759bc1f87fd2b/src/__tests__/main.test.ts#L107)]: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/andyholst/obsidian-timestamp-utility/blob/72e198e16c3d2be75c6511e39dc759bc1f87fd2b/src/__tests__/main.test.ts#L43)][[2](https://github.com/andyholst/obsidian-timestamp-utility/blob/72e198e16c3d2be75c6511e39dc759bc1f87fd2b/src/__tests__/main.test.ts#L52-L54)][[3](https://github.com/andyholst/obsidian-timestamp-utility/blob/72e198e16c3d2be75c6511e39dc759bc1f87fd2b/src/__tests__/main.test.ts#L61)][[4](https://github.com/andyholst/obsidian-timestamp-utility/blob/72e198e16c3d2be75c6511e39dc759bc1f87fd2b/src/__tests__/main.test.ts#L62)][[5](https://github.com/andyholst/obsidian-timestamp-utility/blob/72e198e16c3d2be75c6511e39dc759bc1f87fd2b/src/__tests__/main.test.ts#L69-L72)][[6](https://github.com/andyholst/obsidian-timestamp-utility/blob/72e198e16c3d2be75c6511e39dc759bc1f87fd2b/src/__tests__/main.test.ts#L81)][[7](https://github.com/andyholst/obsidian-timestamp-utility/blob/72e198e16c3d2be75c6511e39dc759bc1f87fd2b/src/__tests__/main.test.ts#L82)][[8](https://github.com/andyholst/obsidian-timestamp-utility/blob/72e198e16c3d2be75c6511e39dc759bc1f87fd2b/src/__tests__/main.test.ts#L83)][[9](https://github.com/andyholst/obsidian-timestamp-utility/blob/72e198e16c3d2be75c6511e39dc759bc1f87fd2b/src/__tests__/main.test.ts#L84)][[10](https://github.com/andyholst/obsidian-timestamp-utility/blob/72e198e16c3d2be75c6511e39dc759bc1f87fd2b/src/__tests__/main.test.ts#L85)]: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.