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
Before You File a Bug Report Please Confirm You Have Done The Following...
I have tried restarting my IDE and the issue persists.
I have updated to the latest version of the packages.
What version of ESLint are you using?
8.40.0
What version of eslint-plugin-svelte are you using?
2.28.0
What did you do?
I am implementing a setup for loading images in pages (i.e. something like calling an API endpoint to get the first 15 images, then loading the next 15 for the next page and so on...). To do this, I am using 4 variables in this way:
If I remove the Pagination element, the issue disappears - as it probably should. But what is really strange is that the issue also disappears if I remove the <div> or lang="ts" - what is happening here???
After investigating, it seems that the scope manager information returned by the parser differs depending on whether ts is used. I don't know the specific cause yet.
Before You File a Bug Report Please Confirm You Have Done The Following...
What version of ESLint are you using?
8.40.0
What version of
eslint-plugin-svelte
are you using?2.28.0
What did you do?
I am implementing a setup for loading images in pages (i.e. something like calling an API endpoint to get the first 15 images, then loading the next 15 for the next page and so on...). To do this, I am using 4 variables in this way:
What did you expect to happen?
I expected no issue, as both
pageStart
andpageEnd
need to be reactive, otherwise paging won't work.What actually happened?
I got
svelte/no-immutable-reactive-statements
error forpageStart
(and alsopageEnd
if I makepageStart
non-reactive)Link to GitHub Repo with Minimal Reproducible Example
I think the example should be a repro as it is, let me know if it isn't :)
Additional comments
No response
The text was updated successfully, but these errors were encountered: