6:34 error `$page` is an illegal variable name. To reference a global variable called `$page`, use `globalThis.$page`(global_reference_invalid) svelte/valid-compile
Link to GitHub Repo with Minimal Reproducible Example
-
Additional comments
This happens for all stores in .svelte files. I haven't checked but the same issue might happen in .svelte.[ts|js] files.
Before You File a Bug Report Please Confirm You Have Done The Following...
What version of ESLint are you using?
8.57.0
What version of
eslint-plugin-svelte
are you using?2.38.0
What did you do?
What did you expect to happen?
No errors.
What actually happened?
Link to GitHub Repo with Minimal Reproducible Example
-
Additional comments
This happens for all stores in
.svelte
files. I haven't checked but the same issue might happen in.svelte.[ts|js]
files.