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

### Required

[[1](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L12)][[2](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L91)][[3](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L96)][[4](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L98)][[5](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L112)][[6](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L115)][[7](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L117)][[8](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L120)][[9](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L121)][[10](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L125)][[11](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L126)][[12](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L148)][[13](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L206)][[14](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L210)][[15](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L211-L213)][[16](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L219)][[17](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L226)][[18](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L227)][[19](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L234)][[20](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L235)][[21](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L238)][[22](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L240)][[23](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L248)][[24](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L252)][[25](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L264)][[26](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L279)][[27](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L285)][[28](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L287)][[29](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L313)][[30](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L346)]: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)

[[1](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L285)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually a file/folder.

[[1](https://github.com/dylanwolf/obsidian-todo-lister/blob/799d1fca7ad0a29d2c9170e38ccec50a6cf3f28f/main.ts#L363)]:The command name should not include the plugin name.



---



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.