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

### Required

[[1](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L31)][[2](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L32)][[3](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L33)][[4](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L34)][[5](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L43)][[6](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L44)][[7](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L45)][[8](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L58)][[9](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L59)][[10](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L60)][[11](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L61)][[12](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L62)][[13](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L74)][[14](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L81)][[15](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L82)][[16](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L83)][[17](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L84)][[18](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L85)][[19](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L92)][[20](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L99)][[21](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L100)][[22](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L110)][[23](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L116)][[24](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L117)][[25](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L118)][[26](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L140)][[27](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L141)][[28](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L142)][[29](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L143)][[30](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L144)] and more :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/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L259)][[2](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L271)]: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>



---

### Optional

[[1](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/settings.ts#L176)][[2](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/main.ts#L121)]:Casting to `any` should be avoided as much as possible.

[[1](https://github.com/BDZendure/domain-image-sorter/blob/46a5432416adfb41c877c9ceed0917f421af30db/src/main.ts#L117)]: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.