Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] cache tsconfig in server to avoid lookups during linting #130

Open
spence-s opened this issue Mar 8, 2023 · 0 comments
Open

Comments

@spence-s
Copy link
Collaborator

spence-s commented Mar 8, 2023

We implement the tsconfig lookup here and improve out-of-the-box performance when parserOptions.project is not set by the user. User's who set parserOptions.project will have done this anyway.

  • automatically lookup and cache the tsconfig for a file when the file is opened
  • destroy the cache when file is closed

This should improve the linting speed when no parserOptions.project is set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant