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

typescript-eslint workaround + misc fixes #613

Merged
merged 2 commits into from
Feb 16, 2023
Merged

Conversation

sandersn
Copy link
Member

  1. typescript-eslint memory usage workaround provided by @bradzacher in Bug: repeated lints in the same process run out of memory typescript-eslint/typescript-eslint#6462. Clear caches after each run so that ts.Program objects aren't retained forever.
  2. typescript-eslint speedup provided the same way. Avoid constructing some objects that are only needed for editors.
  3. Add yet another jsdoc tag to no-redundant-jsdoc2
  4. Correct and reduce amount of perf-related printing at end of ExpectRule. The correction is needed now that ExpectRule saves the equivalent of --extendedDiagnostics after running; I changed the name of the properties to match.

1. typescript-eslint memory usage workaround provided by @bradzacher in
typescript-eslint/typescript-eslint#6462.
Clear caches after each run so that ts.Program objects aren't retained
forever.
2. typescript-eslint speedup provided the same way. Avoid constructing
some objects that are only needed for editors.
3. Add yet another jsdoc tag to no-redundant-jsdoc2
4. Correct and reduce amount of perf-related printing at end of
ExpectRule. The correction is needed now that ExpectRule saves the
equivalent of --extendedDiagnostics after running; I changed the name of
the properties to match.
@sandersn sandersn merged commit ce0d29c into master Feb 16, 2023
@sandersn sandersn deleted the tseslint-workaround branch February 16, 2023 22:37
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.

None yet

1 participant