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

### Required

[[1](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/src/sync/upload_modal.ts#L100)][[2](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/src/sync/upload_modal.ts#L101)]: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>

[[1](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/src/main.ts#L20)][[2](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/src/main.ts#L29)]:Adding `command` to the command ID is not necessary, please remove it.

[[1](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L103)][[2](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L112)][[3](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L147)][[4](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L150)][[5](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L158)][[6](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L184)][[7](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L187)][[8](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L195)][[9](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L213)][[10](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L234)][[11](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L237)][[12](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L244)][[13](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L254)][[14](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L262)][[15](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L280)][[16](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L300)][[17](https://github.com/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/tests/sync.test.ts#L357)]: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/LunarWatcher/obsidian-webdav-sync/blob/ddd229a039100d015ac6bbad492b8e9a3f51b8cf/src/settings.ts#L139)]: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.