epic-stack icon indicating copy to clipboard operation
epic-stack copied to clipboard

ESLint: Too many files

Open braginteractive opened this issue 1 year ago • 4 comments

Have been working with epic stack for a bit now without any custom configs to ESLint.

The following error showed up today:

Parsing error: Too many files (>8) have matched the default project.

Having many files run with the default project is known to cause performance issues and slow down linting.

See https://typescript-eslint.io/troubleshooting/#allowdefaultproject-glob-too-wide

As of now, my workaround has been to add the following to the eslint.config.js file:

parserOptions.projectService.maximumDefaultProjectFileMatchCount_THIS_WILL_SLOW_DOWN_LINTING

braginteractive avatar Jul 25 '24 16:07 braginteractive