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

### Required

[[1](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/main.js)]:Please remove the `main.js` file from the repo and add it to your .gitignore. Compiled release files shouldn't get mixed with source code in your commits and should go to the releases files instead.

[[1](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L18)][[2](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L19)][[3](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L20)][[4](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L21)][[5](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L22)][[6](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L26)][[7](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L33)][[8](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L34)][[9](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L35)][[10](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L36)][[11](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L37)][[12](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L46)][[13](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L47)][[14](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L48)][[15](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L49)][[16](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L50)][[17](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/set_modal.ts#L51)]: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/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/main.ts#L24)][[2](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/main.ts#L25)]:Obsidian's configuration directory isn't necessarily `.obsidian`, it can be configured by the user. You can access the configured value from `Vault#configDir`



---

### Optional

[[1](https://github.com/JeanJean-rxl/random-retrieval-plugin/blob/74bd52b04e31f27873691d043753fdbae1928ff8/src/main.ts#L119)]:Obsidian provides the [`requestUrl`](https://docs.obsidian.md/Reference/TypeScript+API/requestUrl) method, it will make sure that network requests work on every plattform.



---



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.