Summary
Four interface types are exported but never imported outside their own module (+ test file):
ApplyOptions — src/commands/apply.ts:42 — only used in apply() signature and apply.test.ts
CleanOptions — src/commands/clean.ts:9 — only used in clean() signature and clean.test.ts
StatsOptions — src/commands/stats.ts:7 — only used in stats() signature and stats.test.ts
CompareOptions — src/commands/compare.ts:7 — only used in compare() signature and its test
Recommendation
Remove the export keyword from these interfaces. Tests can construct the options as plain objects without importing the type. This reduces unnecessary public API surface.
Additional notes
evaluate.ts has its own padRight (line ~210) and pct helpers that duplicate padRight from display.ts. Consider consolidating.
- No TODO/FIXME/HACK comments found anywhere in src/ — the codebase is clean.
- All other exports are actively used across modules.
Found during codebase audit (2026-03-28).
Summary
Four interface types are exported but never imported outside their own module (+ test file):
ApplyOptions—src/commands/apply.ts:42— only used inapply()signature andapply.test.tsCleanOptions—src/commands/clean.ts:9— only used inclean()signature andclean.test.tsStatsOptions—src/commands/stats.ts:7— only used instats()signature andstats.test.tsCompareOptions—src/commands/compare.ts:7— only used incompare()signature and its testRecommendation
Remove the
exportkeyword from these interfaces. Tests can construct the options as plain objects without importing the type. This reduces unnecessary public API surface.Additional notes
evaluate.tshas its ownpadRight(line ~210) andpcthelpers that duplicatepadRightfromdisplay.ts. Consider consolidating.Found during codebase audit (2026-03-28).