You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using SvelteKit's inbuilt $page store, I get the following 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
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.39.0
What did you do?
Configuration
.eslintrc.cjs
svelte.config.js
What did you expect to happen?
No errors.
What actually happened?
When using SvelteKit's inbuilt
$page
store, I get the following error:Link to GitHub Repo with Minimal Reproducible Example
https://stackblitz.com/edit/vitejs-vite-dnsppf?file=src%2Froutes%2F%2Bpage.svelte
Additional comments
No response
The text was updated successfully, but these errors were encountered: