* Handle EmptyStatement at top-level in global files
getModuleInfo's per-node handling of top-level statements in a
non-module sourcefile forgot to include EmptyStatement.
* improve naming of test variables
* add comment to post results, and add write failures to file option
* merge job's files
* WIP: use folder
* add octokit dependency
* limit packages for testing
* read all files in dir
* get rid of job arg
* always write to file
* use glob
* add failure reporting
* link logs in failure report
* remove slicing
* update lock with new dependencies
* make const again
* CR comments
* limit tested packages for testing purposes
* log error
* fix for loop
* change output formatting
* update test
* remove slicing used for testing
* Use real TypeScript resolution for determining used files
* getTypingInfo needs the whole DT FS
* Fix a few things not showing up in tests
* Disable superfluous OTHER_FILES error
* Replace internal API
* Bring back error for relatively referencing other packages
* Fix `getLocallyInstalledDefinitelyTyped`
* PR suggestions
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