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

### Required

[[1](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/file-manager.ts#L388)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually a file/folder.

[[1](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/generation-modal.ts#L87)][[2](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/generation-modal.ts#L88)][[3](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/generation-modal.ts#L192)][[4](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/generation-modal.ts#L197)][[5](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/generation-modal.ts#L198)][[6](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/generation-modal.ts#L199)][[7](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/generation-modal.ts#L200)][[8](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/settings-tab.ts#L264)][[9](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/settings-tab.ts#L406)][[10](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/settings-tab.ts#L407)][[11](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/settings-tab.ts#L408)][[12](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/settings-tab.ts#L409)]: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.


[[1](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/error-handler.ts#L346)][[2](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/main.ts#L48)][[3](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/main.ts#L92)][[4](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/main.ts#L98)][[5](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/main.ts#L591)][[6](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/main.ts#L595)][[7](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/main.ts#L599)][[8](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/test-providers.ts#L11)][[9](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/test-providers.ts#L15)][[10](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/test-providers.ts#L26)][[11](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/test-providers.ts#L29)][[12](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/test-providers.ts#L32)][[13](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/test-providers.ts#L35)]:You should consider limiting the number of `console.log`s in your code, to not pollute the dev console.



---

### Optional

[[1](https://github.com/Tseku210/DeckForge/blob/f2c1cb5de10609fab277eb50563aed44ce7c6f98/test/types.test.ts#L322)]: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.