eslint-plugin-svelte-bug

Steps to reproduce:

  1. git clone https://github.com/dschuessler/eslint-plugin-svelte-bug
  2. cd eslint-plugin-svelte-bug
  3. npm install
  4. Open folder in VSCode.
  5. Open eslint.config.js in VSCode.

Expected behavior: No errors, because the file is taken from the documentation.

Actual behavior: Multiple Typescript errors:

At line 5:

Module '"/Users/dennis/Library/Caches/typescript/5.6/node_modules/@types/espree/index"' has no default export.ts(1192)

At line 7:

Cannot find name 'js'.

At line 8:

Type 'LegacyConfig<RulesRecord, RulesRecord>' must have a '[Symbol.iterator]()' method that returns an iterator.ts(2488)

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes