What problem does it solve?
Detects and safely removes unused exports and dead code in TypeScript/React projects using a cascading configuration system (project -> home -> default) to minimize manual cleanup and reduce risk of deleting live code.
Core Features & Use Cases
- Cascading configuration (project/home/default) to tailor cleanup across environments.
- Framework-aware detection for Next.js, React, and Node.js generation of ignore patterns to avoid false positives.
- Auto-generated .tsrignore guidance and verification steps after deletion to ensure code health.
- Use cases include weekly maintenance, refactor cleanup, and CI integrations to validate deletion.
Quick Start
Create a project .tsr-config.json at the root, run TSR check to discover dead code, and then run TSR fix to remove it safely.