-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add Knip #560
Add Knip #560
Conversation
i would like to discuss this tomorrow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A much as i dislike having tons of packages for utils which other languages support out of the box, knip makes sense to me.
6860019
to
a7afb70
Compare
a7afb70
to
87e1349
Compare
#2848) While integrating [Knip in the Starter](vivid-planet/comet-starter#560) we've noticed that the API Generator generates an update input for the single generator which isn't used. This is fixed by adding a `generateUpdateInput` option which is set `false` for the single generator.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. We still need to wait for the next stable Comet release though.
4eab0b9
to
8d1c409
Compare
80f666d
to
6ce4524
Compare
We incorrectly removed `@comet/cli` from the API in #560. The package is used for the site configs type.
Add Knip to lint pipelines. Knip can support in linting dead source code, unused files, unused dependencies, and unnecessary exports.