Skip to content

Release v1.7.5

Choose a tag to compare

@shinpr shinpr released this 30 Aug 05:10
· 127 commits to main since this release
f56ddf2

🔧 Enhanced Unused Exports Detection

New Features

  • Improved unused exports script: Added check-unused-exports.js with better classification between truly unused exports and internal-only exports
  • Auto-removal capability: Enhanced quality-fixer agents to automatically remove unused exports when detected by ts-prune (YAGNI principle enforcement)

Script Updates

  • npm run check:unused: Now uses the enhanced script for precise detection
  • npm run check:unused:all: Fallback to original ts-prune output for reference

Benefits

  • Prevents technical debt: Automatically removes "just in case" exports that violate YAGNI principles
  • Better precision: Distinguishes between truly unused exports and those used only within their module
  • AI-optimized: Designed for maximum execution accuracy with clear, actionable detection criteria

Technical Details

  • New script filters ts-prune output to separate truly unused exports from internal-only usage
  • Quality-fixer agents now include unused export removal in their automatic fix range
  • Supports both English and Japanese agent definitions