[DRAFT] ⚡ Performance: single-run linting opens every file in the project service, even ones its project already has#12982
Before You File a Proposal Please Confirm You Have Done The Following...
- I have searched for related issues and found none that match my proposal.
- I have searched the current rule list and found no rules that match my proposal.
- I have read the FAQ and my problem is not listed.
- If I used AI assistance to prepare this issue, I have reviewed and followed the AI Contribution Policy.
Relevant Package
typescript-estree
My proposal is suitable for this project
- I believe my proposal would be useful to the broader TypeScript community (meaning it is not a niche proposal).
Description
In single-run mode, typescript-estree calls openClientFile for every linted file. After the first file loads a tsconfig's project, the rest are usually already in that project's Program with the same text, but opening each one still looks up its tsconfig and runs the service's per-open bookkeeping.