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

Use Knip for detecting dead code #3426

Merged
merged 7 commits into from
Aug 21, 2024
Merged

Use Knip for detecting dead code #3426

merged 7 commits into from
Aug 21, 2024

Conversation

bayasdev
Copy link
Contributor

@bayasdev bayasdev commented Aug 21, 2024

What does this do

This PR replaces the deprecated ts-prune package with Knip for detecting dead code in our React codebase. Knip offers more comprehensive dead code detection with additional features like identifying unused dependencies, exports, and types.

Overview

  • Removed ts-prune in favor of knip
  • Fixed all warnings found by Knip
  • Added unlisted dependencies to the package.json
  • Added format command

@ramondeklein ramondeklein linked an issue Aug 21, 2024 that may be closed by this pull request
@bexsoft bexsoft merged commit 4c432cd into minio:master Aug 21, 2024
34 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.

Upgrade from ts-prune to knip for detecting dead code
5 participants