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

### Required

[[1](https://github.com/tlorien/fountain-screenwriter/blob/4e696966865c8854de6fd029e8368dca29117199/src/main.ts#L3)][[2](https://github.com/tlorien/fountain-screenwriter/blob/4e696966865c8854de6fd029e8368dca29117199/src/main.ts#L235)]:This class is only available on desktop, which means that this will throw errors on mobile (that's a problem since you have `isDesktopOnly` marked as `false` in your manifest.json file.

[[1](https://github.com/tlorien/fountain-screenwriter/blob/4e696966865c8854de6fd029e8368dca29117199/src/main.ts#L197)]: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/tlorien/fountain-screenwriter/blob/4e696966865c8854de6fd029e8368dca29117199/src/main.ts#L235)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually the adapter you expect.

[[1](https://github.com/tlorien/fountain-screenwriter/blob/4e696966865c8854de6fd029e8368dca29117199/src/main.ts#L363)][[2](https://github.com/tlorien/fountain-screenwriter/blob/4e696966865c8854de6fd029e8368dca29117199/src/main.ts#L369)][[3](https://github.com/tlorien/fountain-screenwriter/blob/4e696966865c8854de6fd029e8368dca29117199/src/main.ts#L370)]: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.




---

### Optional

[[1](https://github.com/tlorien/fountain-screenwriter/blob/4e696966865c8854de6fd029e8368dca29117199/src/main.ts#L30)][[2](https://github.com/tlorien/fountain-screenwriter/blob/4e696966865c8854de6fd029e8368dca29117199/src/main.ts#L31)][[3](https://github.com/tlorien/fountain-screenwriter/blob/4e696966865c8854de6fd029e8368dca29117199/src/main.ts#L141)][[4](https://github.com/tlorien/fountain-screenwriter/blob/4e696966865c8854de6fd029e8368dca29117199/src/main.ts#L298)][[5](https://github.com/tlorien/fountain-screenwriter/blob/4e696966865c8854de6fd029e8368dca29117199/src/main.ts#L347)][[6](https://github.com/tlorien/fountain-screenwriter/blob/4e696966865c8854de6fd029e8368dca29117199/src/parser/parserWorker.ts#L57)]: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.