Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After being very glad to see Knip being used in this repository, I saw the configuration and the slightly uncommon blend of the
vscode
andagent
workspaces ("../agent/**/*.ts"
), I couldn't resist to check out the repo and come up with some suggestions, as presented in this PR.Looks like most of the results are (still) correct and there's even more to clean up, yay! I'm happy to leave the actual clean up to developers more familiar with the codebase (I'm also unaware of potential external factors/consumers).
Feel free to AMA!
Additionally, Knip v4 is around the corner and will give a nice speed bump (on my machine it goes down from 4.7s to 2.8s with the same config).
Test plan
CI