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

### Required

[[1](https://github.com/dominikmayer/obsidian-yesterday/blob/f2e00dd1436e2a233f2c4fa48a973f99105c2ab0/src/main.ts#L35)]:Please remove anything from the sample plugin that you don't need.

[[1](https://github.com/dominikmayer/obsidian-yesterday/blob/f2e00dd1436e2a233f2c4fa48a973f99105c2ab0/src/main.ts#L380)]:You should change all instances of `var` to either `const` or `let`. `var` has function-level scope, so it can easily lead to bugs if you're not careful. Here's a pretty good guide with examples of why not to use `var`: [why `var` is obsolete](https://javascript.plainenglish.io/4-reasons-why-var-is-considered-obsolete-in-modern-javascript-a30296b5f08f)



---



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