Skip to content

Stop indexing JS with --inferTSConfig #40

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

Merged
merged 1 commit into from
Mar 16, 2022
Merged

Stop indexing JS with --inferTSConfig #40

merged 1 commit into from
Mar 16, 2022

Conversation

olafurpg
Copy link
Contributor

This behavior was dramatically slowing down the indexing of npm package
repos for questionable value. If the user wants to index JS code then
they can add that config to their tsconfig.json file. This flag was
added specifically for npm package repos.

Fixes #38

Test plan

Manually tested by indexing the npm/typescript package repo, which timed out before due to the large amount of typescript it contains.

This behavior was dramatically slowing down the indexing of npm package
repos for questionable value. If the user wants to index JS code then
they can add that config to their `tsconfig.json` file. This flag was
added specifically for npm package repos.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to auto-index npm/typescript@v4.6.2
1 participant