Skip to content
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

chore: fix knip warnings in onboarding repository #19

Merged

Conversation

gitcoindev
Copy link
Contributor

  • Set correct entry points in knip.ts for onboarding repostiory to find all dependencies
  • add unlisted transitive dependencies to package.json that were imported directly
  • add no-unused-vars to two unused exports

Resolves #18

QA: merged to fork and tested at gitcoindev#4

Also tested against local workspace:

$ yarn knip
yarn run v1.22.19
$ knip
✂️  Excellent, Knip found no issues.
Done in 4.17s.

* Set correct entry points in knip.ts for onboarding repostiory to find all
dependencies
* add unlisted transitive dependencies to package.json that were imported directly
* add no-unused-vars to two unused exports
@gitcoindev gitcoindev requested a review from rndquu as a code owner March 18, 2024 11:54
Copy link

Unused dependencies (2)

Filename dependencies
package.json @supabase/supabase-js
@ubiquibot/configuration

@gitcoindev
Copy link
Contributor Author

@rndquu this should fix the Knip configuration and #14 should be also passing aftwards. I also got the comment above about @supabase/supabase-js and @ubiquibot/configuration in my fork when I did QA, after merging it will disappear.

I am going to fix all Knip configurations this week, if you know any other repository that needs the configuration change please let me know.

@gitcoindev gitcoindev self-assigned this Mar 18, 2024
@rndquu rndquu merged commit a492edc into ubiquity:development Mar 18, 2024
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create correct Knip configuration for onboard.ubq.fi repository
2 participants