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

### Required

[[1](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L275)][[2](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L276)][[3](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L277)][[4](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L278)][[5](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L279)][[6](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L280)][[7](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L282)][[8](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L283)]: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/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/tests/main.test.ts#L38)][[2](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/tests/main.test.ts#L48)][[3](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/tests/main.test.ts#L57)][[4](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/tests/main.test.ts#L66)][[5](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/tests/main.test.ts#L73)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually a file/folder.

[[1](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L43)][[2](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L122)][[3](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L201)][[4](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L202)][[5](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L217)][[6](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L218)][[7](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L219)][[8](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L220)][[9](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L221)][[10](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L222)][[11](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L223)][[12](https://github.com/joescharf/obsidian-readwise-linker/blob/63cdb17c9ced2297864715fdc2d39699ac9ae8dd/main.ts#L224)]:You should consider limiting the number of `console.log`s in your code, to not pollute the dev console.



---



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.