eslint-plugin-svelte-runes-bug Svelte Themes

Eslint Plugin Svelte Runes Bug

Reproduction of a bug with `svelte` and `eslint` using `eslint-plugin-svelte`.

eslint-plugin-svelte-runes-bug

Having compilerOptions in the Svelte config leads to a eslint error, saying all runes are undefined.

(Weirdly this does not occur when the variable is named like the rune, see +page.svelte)

Important files

  • svelte.config.js
  • src/routes/+page.svelte

Top categories

Loading Svelte Themes