Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I havesearched for related issues and found none that matched my issue.
- I haveread the FAQ and my problem is not listed.
Issue Description
While trying out@typescript-eslint@rc-v8
, with theprojectService
key andeslint-plugin-import
, a number of unrelated files end up being included in the default project. This then leads to the "Too many files (>...) have matched the default project" error.
This has surfaced in the past, first in#8428, and then as a general issue in#8428.
The core issue is that theprojectService
key is not deleted inthe relevanteslint-module-utils
call-site., so files end up being parsed with the project service.
I'd be happy to contribute a PR, either for this specific key, or forthe more general issue of exporting a utility to do the deletion.
I filed this as a separate issue, in case it helps tracking, but feel free to move it around 😇
Reproduction Repository Link
https://github.com/fpapado/typescript-eslint-v8-with-plugin-import
Repro Steps
- clone the repo
pnpm install
pnpm eslint .
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin | 8.0.0-alpha.25 |
@typescript-eslint/parser | 8.0.0-alpha.25 |