Skip to content

feat(typescript-estree): use createProgram backed by a local source file cache #1102

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

Closed
wants to merge 2 commits into from

Conversation

bradzacher
Copy link
Member

@bradzacher bradzacher commented Oct 18, 2019

Just me playing around with some stuff.
I want to see if there's a way to ditch createWatchProgram

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @bradzacher!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day.

@codecov
Copy link

codecov bot commented Oct 18, 2019

Codecov Report

Merging #1102 into master will decrease coverage by 0.41%.
The diff coverage is 78.1%.

@@            Coverage Diff             @@
##           master    #1102      +/-   ##
==========================================
- Coverage   94.02%   93.61%   -0.42%     
==========================================
  Files         115      120       +5     
  Lines        5123     5260     +137     
  Branches     1434     1454      +20     
==========================================
+ Hits         4817     4924     +107     
- Misses        177      200      +23     
- Partials      129      136       +7
Impacted Files Coverage Δ
...script-estree/src/host/createProgramWithProject.ts 100% <100%> (ø)
...ages/typescript-estree/src/host/SourceFileCache.ts 64% <64%> (ø)
...ages/typescript-estree/src/host/parseConfigFile.ts 80% <80%> (ø)
...ackages/typescript-estree/src/host/ProgramCache.ts 84.9% <84.9%> (ø)
packages/typescript-estree/src/host/common.ts 85.71% <85.71%> (ø)

@bradzacher
Copy link
Member Author

Closing in favour of #1106

@bradzacher bradzacher closed this Oct 19, 2019
@bradzacher bradzacher deleted the rfc-caching branch October 19, 2019 09:03
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant