Should the unused vars rule work for Svelte components? #13308
Replies: 1 comment 1 reply
-
Unfortunately the rule does not work in <script lang="ts">
function greet() {
alert('Welcome to Svelte!');
}
</script>
<button onclick={greet}>click me</button>
<style>
button {
font-size: 2em;
}
</style> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have this configured:
but the unused vars rule does not seem to work for svelte components...
Beta Was this translation helpful? Give feedback.
All reactions