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

### Required

[[1](https://github.com/makary-s/obsidian-metafolders/blob/6db83d72e80df90da46a49554ebcb17ef111e9f8/src/utils/hierarchy.ts#L46)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually a file/folder

[[1](https://github.com/makary-s/obsidian-metafolders/blob/6db83d72e80df90da46a49554ebcb17ef111e9f8/src/base-components/Collapsible.tsx#L25)][[2](https://github.com/makary-s/obsidian-metafolders/blob/6db83d72e80df90da46a49554ebcb17ef111e9f8/src/base-components/Collapsible.tsx#L50)][[3](https://github.com/makary-s/obsidian-metafolders/blob/6db83d72e80df90da46a49554ebcb17ef111e9f8/src/base-components/Collapsible.tsx#L53)][[4](https://github.com/makary-s/obsidian-metafolders/blob/6db83d72e80df90da46a49554ebcb17ef111e9f8/src/base-components/Collapsible.tsx#L61)][[5](https://github.com/makary-s/obsidian-metafolders/blob/6db83d72e80df90da46a49554ebcb17ef111e9f8/src/base-components/Collapsible.tsx#L65)][[6](https://github.com/makary-s/obsidian-metafolders/blob/6db83d72e80df90da46a49554ebcb17ef111e9f8/src/base-components/Collapsible.tsx#L68)]:You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.




---

### Optional

[[1](https://github.com/makary-s/obsidian-metafolders/blob/6db83d72e80df90da46a49554ebcb17ef111e9f8/src/components/ObsMenu.tsx#L88)]: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.