You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add Knip to remove dead code and unused dependencies #433
Add Knip to the project to automatically detect and remove unused files and dependencies. Knip is a powerful TypeScript tool that helps maintain a clean codebase by identifying dead code and unused dependencies.
Benefits
Automatically detect unused files in the project
Identify unused dependencies in package.json
Find unused exports and imports
Reduce bundle size by removing dead code
Keep dependencies up-to-date and minimal
Steps
Install Knip as a dev dependency
Create .kniprc configuration file with appropriate settings for the project
Run Knip to generate a report of unused code and dependencies
Review and remove unused dependencies from package.json
Review and remove unused files from the codebase
Add Knip check to CI/CD pipeline to prevent future dead code
Activity
Anshumancanrock commentedon Apr 10, 2026
Hi @phoenix-server , Could you please assign this to me ? Thanks !
cameri commentedon Apr 10, 2026
Thank you @Anshumancanrock