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

### Required

[[1](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.ts#L149)][[2](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L257)]:The command name should not include the plugin name.

[[1](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.ts#L197)]: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>

[[1](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/components/ObsidianIcon.tsx#L51)][[2](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/components/ObsidianIcon.tsx#L56)][[3](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/test/obsidian-mock.ts#L147)]:Using `innerHTML`, `outerHTML` or similar API's is a security risk. Instead, use the DOM API or the Obsidian helper functions: <https://docs.obsidian.md/Plugins/User+interface/HTML+elements>

[[1](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/hooks/useNoteGrid.test.ts#L12-L17)][[2](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/store/noteProcessing/noteLoader.test.ts#L113-L121)][[3](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/store/noteProcessing/noteLoader.test.ts#L264)][[4](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/store/noteProcessing/noteLoader.test.ts#L265)]: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/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/core/errors/errorHandling.ts#L223)][[2](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/core/errors/errorHandling.ts#L236)][[3](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L72)][[4](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L73)][[5](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L79)][[6](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L115)][[7](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L130)][[8](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L133)][[9](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L152)][[10](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L154)][[11](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L155)][[12](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L174)][[13](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L176)][[14](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L177)][[15](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L201)][[16](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L203)][[17](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L204)][[18](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L242)][[19](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L268)][[20](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L271)][[21](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L275)][[22](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L276)][[23](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L279)][[24](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L288)][[25](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L294)][[26](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L298)][[27](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L309)][[28](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L312)][[29](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L313)][[30](https://github.com/hiroaki-suzuki/obsidian-plugin-card-view-explorer/blob/3ed684c549a6250658cf35b2b24783a07ad67955/src/main.test.ts#L319)] and more :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.