Steps to reproduce:
git clone https://github.com/dschuessler/eslint-plugin-svelte-bug
cd eslint-plugin-svelte-bug
npm install
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)