-
-
Notifications
You must be signed in to change notification settings - Fork 774
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 |
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