-
-
Notifications
You must be signed in to change notification settings - Fork 777
chore: replace unimported with knip and update workflow #2650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Added knip as the recommended replacement. - Integrated knip into the workflow file for automated checks. Closes sinonjs#2637
|
New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎
|
|
Thank you for the pull request 👏 There are still a few things to do. It is fair enough that the solution can't detect usage of things in However, it should be able to detect things that are clearly in use. $ ag -Q "incrementCallCount"
lib/sinon/spy.js
59: proxyCallUtil.incrementCallCount(fake);
lib/sinon/proxy-invoke.js
19: proxyCallUtil.incrementCallCount(this);
24: proxyCallUtil.incrementCallCount(matching);
lib/sinon/proxy-call-util.js
5:exports.incrementCallCount = function incrementCallCount(proxy) {I think |
|
Would it be possible to revive this PR, @abidta ? Seems like most things were already in place. |
|
Yes, I can revive this PR
…On Fri, 19 Dec 2025, 6:44 PM Carl-Erik Kopseng ***@***.***> wrote:
*fatso83* left a comment (sinonjs/sinon#2650)
<#2650 (comment)>
Would it be possible to revive this PR, @abidta
<https://github.com/abidta> ? Seems like most things were already in
place.
—
Reply to this email directly, view it on GitHub
<#2650 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYQRPYAQAPPTQ4DXUWROOAD4CP2Z7AVCNFSM6AAAAACPRJKBRSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMNZVGA2DMNRUGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Added knip as the recommended replacement.
Integrated knip into the workflow file for automated checks.
Closes #2637
Purpose (TL;DR) - mandatory
How to verify - mandatory
npm installChecklist for author
npm run lintpasses