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

### Required

[[1](https://github.com/temaprint/Block-Manager/blob/fdba120ccc6d2a6455f3456a1b13751d3f565a30/view.ts#L194)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually a file/folder.

[[1](https://github.com/temaprint/Block-Manager/blob/fdba120ccc6d2a6455f3456a1b13751d3f565a30/main.ts#L33)]:The command name should not include the plugin name.

[[1](https://github.com/temaprint/Block-Manager/blob/fdba120ccc6d2a6455f3456a1b13751d3f565a30/main.ts#L43)]:Do not detach leaves with your custom view in `onunload`, this is an antipattern, see: <https://docs.obsidian.md/Plugins/Releasing/Plugin+guidelines#Don't+detach+leaves+in+%60onunload%60>



---

### Optional

[[1](https://github.com/temaprint/Block-Manager/blob/fdba120ccc6d2a6455f3456a1b13751d3f565a30/view.ts#L215)]:Use `app.fileManager.trashFile(file: TAbstractFile)` instead, this will make sure that the file is deleted according to the users preferences.



---



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.