<script lang="ts">
import { onMount } from 'svelte';
function sayHi() {
console.log('hi');
}
</script>
<h1>Welcome to SvelteKit</h1>
<p>Visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the documentation</p>
I should be seeing Eslint errors that complain about no-unused-vars. I've also configured my eslint with the no-console rule that should also be triggered. Removing lang="ts" does not fix the issue
Describe the bug
When looking at the following:
I should be seeing Eslint errors that complain about
no-unused-vars
. I've also configured my eslint with theno-console
rule that should also be triggered. Removinglang="ts"
does not fix the issueReproduction
REPL here
Note, I'm not sure if REPL will show any eslint errors at all, you may have to download it.
Logs
No response
System Info
Severity
annoyance