Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svelte 3.16.0+ warnings about unused vars for store variables #49

Closed
Panya opened this issue Dec 10, 2019 · 2 comments
Closed

Svelte 3.16.0+ warnings about unused vars for store variables #49

Panya opened this issue Dec 10, 2019 · 2 comments
Labels
svelte This is a bug or a missing feature in Svelte

Comments

@Panya
Copy link

Panya commented Dec 10, 2019

It seems like the plugin is working incorrectly with Svelte 3.16.0+ if we use store variables with $ inside our templates. For example https://svelte.dev/repl/ff4153b6a0724c7a9f6dae6c3c521365?version=3.16.1 outputs:

2:9  warning  'store' is defined but never used  no-unused-vars
@Conduitry
Copy link
Member

This is a bug in Svelte. I've opened sveltejs/svelte#4081

@Conduitry Conduitry added the svelte This is a bug or a missing feature in Svelte label Dec 10, 2019
@Conduitry
Copy link
Member

Fixed in Svelte 3.16.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
svelte This is a bug or a missing feature in Svelte
Projects
None yet
Development

No branches or pull requests

2 participants