epic-stack
epic-stack copied to clipboard
ESLint: Too many files
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