JoshuaKGoldberg / eslint-plugin-expect-type

ESLint plugin with ^? Twoslash, $ExpectError, and $ExpectType type assertions. 🧩
Apache License 2.0
110 stars 5 forks source link

🐛 Bug: Can OOM if used with huge packages and many TS versions #642

Closed JoshuaKGoldberg closed 2 days ago

JoshuaKGoldberg commented 2 days ago

Bug Report Checklist

Expected

If run with a very large package and multiple versionsToTest, older TS version programs should be discarded so as to not cause OOMs.

Actual

Those programs are not being discarded.

Additional Info

Re-file of https://github.com/microsoft/DefinitelyTyped-tools/pull/1024 in this repo.

💖

github-actions[bot] commented 2 days ago

:tada: This is included in version v0.6.1 :tada:

The release is available on:

Cheers! 📦🚀