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



---

### Optional

[[1](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/main.spec.ts#L15)][[2](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/main.spec.ts#L43)][[3](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/main.spec.ts#L55)][[4](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/main.spec.ts#L80)][[5](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/main.spec.ts#L143)][[6](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/main.spec.ts#L161)][[7](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/main.spec.ts#L179)][[8](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/main.spec.ts#L199)][[9](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/main.spec.ts#L220)][[10](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/scrollposition-settings.spec.ts#L15)][[11](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/scrollposition.spec.ts#L95)][[12](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/scrollposition.spec.ts#L114-L127)][[13](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/scrollposition.spec.ts#L141-L151)][[14](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/scrollposition.spec.ts#L186)][[15](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/scrollposition.spec.ts#L187)][[16](https://github.com/s-blu/obsidian-remember-scrollposition/blob/751635dae799712b18d338676f9a433a878a4d48/tests/scrollposition.spec.ts#L402)]:Casting to `any` should be avoided as much as possible.



---



Do <b>NOT</b> open a new PR for re-validation.
