Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

svelte $state considered undefined by eslint?

$
0
0

My code runs fine which makes me think it comes from the linter. Also, when I close the file in VScode it's green, but when I open it it goes red. in my shared.svelte.js file:

enter image description here

Here are the dependencies after npm update :

"@types/eslint": "^9.6.0","eslint": "^9.0.0","eslint-config-prettier": "^9.1.0","eslint-plugin-svelte": "^2.45.1",

Viewing all articles
Browse latest Browse all 1541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>