Skip to content

Conversation

paoloricciuti
Copy link
Member

New Autofixer to suggest using runes over stores. It's pretty naive, it just warns when it sees an import from svelte/store which is not get but should work. This is the suggestion

You are importing "writable" from "svelte/store". Unless the user specifically asked for stores or it's required because some library/component requires a store as input consider using runes like `$state` or `$derived` instead, all runes are globally available.

So that it should also help in case there's a library that requires stores

@paoloricciuti paoloricciuti merged commit bb9a6e0 into main Sep 20, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants