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
**Why DeadCode?** Every TypeScript/React codebase accumulates dead code — exports nobody imports, page components replaced but never deleted, CSS classes refactored out but still sitting in `.module.css` files. ESLint catches unused variables but misses the structural decay: orphaned exports bloat your bundles, stale routes confuse new teammates, and orphaned styles silently accumulate. DeadCode scans your entire project with full-project pattern analysis and reports exactly what's safe to remove — with a dry-run preview mode so you never delete something you need.
14
+
**Why DeadCode?** Every TypeScript/React codebase accumulates dead code — exports nobody imports, page components replaced but never deleted, CSS classes refactored out but still sitting in `.module.css` files. ESLint catches unused variables but misses the structural decay: orphaned exports bloat your bundles, stale routes confuse new teammates, and orphaned styles silently accumulate. DeadCode scans your entire project with full-project pattern analysis and reports exactly what's safe to remove — with a dry-run preview mode so you never delete something you need.
15
15
16
16
## Quick Start
17
17
@@ -74,13 +74,13 @@ deadcode stats
74
74
75
75
## Features
76
76
77
-
-**Unused export detection**— finds functions, types, classes, interfaces, enums, and consts that are exported but never imported within your project
-**Orphaned CSS detection**— finds CSS module classes that are defined but never referenced in TSX/JSX files
80
-
-**Safe auto-removal**—`--dry-run` preview mode shows exactly what will be deleted before making changes
81
-
-**Full-project AST analysis**— regex-based scanning covers export/import patterns, route detection, CSS class usage, and component references across your entire codebase
82
-
-**Monorepo support**— handles large projects efficiently with ignore patterns
83
-
-**CI integration**— JSON output for automated pipelines and gating
77
+
-**Unused export detection**— finds functions, types, classes, interfaces, enums, and consts that are exported but never imported within your project
-**Orphaned CSS detection**— finds CSS module classes that are defined but never referenced in TSX/JSX files
80
+
-**Safe auto-removal**—`--dry-run` preview mode shows exactly what will be deleted before making changes
81
+
-**Full-project AST analysis**— regex-based scanning covers export/import patterns, route detection, CSS class usage, and component references across your entire codebase
82
+
-**Monorepo support**— handles large projects efficiently with ignore patterns
83
+
-**CI integration**— JSON output for automated pipelines and gating
84
84
85
85
## Ignore Patterns
86
86
@@ -96,34 +96,34 @@ DeadCode is one of eight tools in the Revenue Holdings suite. One license covers
0 commit comments