-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
coreRelates to ESLint's core APIs and featuresRelates to ESLint's core APIs and featuresenhancementThis change enhances an existing feature of ESLintThis change enhances an existing feature of ESLint
Description
ESLint version
HEAD
What problem do you want to solve?
ESLint can take a long time to start up because it loads in so many files from disk.
What do you think is the correct solution?
Use the new Node.js Compile Cache API to enable on-disk caching for ESLint in Node.js v22+. This will cache the compiled JavaScript that was loaded prior to the API call so that subsequent runs of ESLint will load those files from the cache instead of reading from disk and re-evaluating.
TypeScript recently implemented this.
Participation
- I am willing to submit a pull request for this change.
Additional comments
No response
AndreaPontrandolfo and JoshuaKGoldberg
Metadata
Metadata
Assignees
Labels
coreRelates to ESLint's core APIs and featuresRelates to ESLint's core APIs and featuresenhancementThis change enhances an existing feature of ESLintThis change enhances an existing feature of ESLint
Type
Projects
Status
Complete