1. The newest version of estree makes clearCaches clear all caches, not
just the watch caches.
2. The newest version of estree also mistakenly exports
clearProgramCache as the *call* of clearCaches, not an alias for it.
Previous to the new version of estree, clearCaches and clearProgramCache
were two different things, and both were needed to avoid running out of
memory in dtslint-runner.
* Update typescript-eslint dependencies at root
Looks like overnight runs are mistakenly using typescript-eslint/*@4
when they should be on 5 to have access to the cache-clearing function.
Try upgrading the dev version of typescript-eslint to 5 to see if that
fixes it.
* Add missing dependency
Makes lint succeed.
* typescript-eslint workaround + misc fixes
1. typescript-eslint memory usage workaround provided by @bradzacher in
https://github.com/typescript-eslint/typescript-eslint/issues/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.
* fix semicolon lint
50 tasks per child avoids about 90% of ooms without slowing down tests
much at all. Let's see if 20 tasks per child will avoid closer to 100%
without slowing down too much more.
1. 2 typo fixes
2. Use slice instead of substr, which is deprecated
3. Add support for JSDocThrowsTag using the workaround for the
dependency that doesn't have it in its enum.
* Expect hapi dependents to pass
A lot of aws-sdk dependents are also passing, but I want to get two or
three days of history before taking them off the list.
* Add schwifty to passing list too