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 have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Issue Description
While trying out @typescript-eslint@rc-v8
, with the projectService
key and eslint-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 the projectService
key is not deleted in the relevant eslint-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 for the 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 |