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

### Required

[[1](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/src/delta.ts#L54)][[2](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/src/settings.ts#L38)][[3](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/src/settings.ts#L155)][[4](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/src/main.ts#L303)][[5](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/tests/delta-enhanced.test.ts#L14)][[6](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/tests/delta.test.ts#L53)][[7](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/tests/delta.test.ts#L72)][[8](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/tests/delta.test.ts#L73)][[9](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/tests/delta.test.ts#L208)]:Obsidian's configuration directory isn't necessarily `.obsidian`, it can be configured by the user. You can access the configured value from `Vault#configDir`

[[1](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/src/delta.ts#L154)][[2](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/src/delta.ts#L173)][[3](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/tests/content-processor.test.ts#L5-L9)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually a file/folder.

[[1](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/src/runner.ts#L672)][[2](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/src/runner.ts#L681)]:This is only available on desktop, use the [Platform](https://docs.obsidian.md/Reference/TypeScript+API/Platform) interface from the Obsidian API instead.

[[1](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/src/main.ts#L556)][[2](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/src/main.ts#L560)][[3](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/src/main.ts#L564)]: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/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/src/main.ts#L301)][[2](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/tests/content-processor.test.ts#L42)][[3](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/tests/content-processor.test.ts#L60)][[4](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/tests/content-processor.test.ts#L81)][[5](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/tests/content-processor.test.ts#L114)][[6](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/tests/delta-enhanced.test.ts#L14)][[7](https://github.com/DannyMac180/chroma-sync/blob/30f9bec2067ec440be91dc0cf6cf05e308e7eeb2/tests/delta.test.ts#L53)]: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.