Closed JoshuaKGoldberg closed 6 years ago
Thanks for the contribution @JoshuaKGoldberg! Please split this into multiple PRs, one per change you're making. Thanks!
will do
Edit: split the walk
changes into their own PR; will update this one once that goes in.
I don't know why this blocks reopening the PR so I'll just make a new PR. 🤷
Limits the depth of cycle reporting to a fixed to a fixied size limit for a list of files. This helps improve performance, as most cycles do not surpass a few related files.
As I mentioned in the issue, we could theoretically fix the crashes by switching to an iterative solution. This is still a desirable change IMO because erroring files will do so faster.
This also switches to a
walk
function: see discussion in https://github.com/palantir/tslint/issues/2522Fixes #18