mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-27 18:22:41 -08:00
660 B
660 B
File Size Budgets
Purpose: keep large modules from becoming maintenance bottlenecks.
Current Budget
- TypeScript source files in
src/andlauncher/ - Soft budget:
500LOC - Excludes generated bundle artifacts (for example
subminer)
Commands
- Warning mode (non-blocking):
bun run check:file-budgets - Strict mode (CI/local gate):
bun run check:file-budgets:strict - Custom limit:
bun run scripts/check-file-budgets.ts --limit 650
Policy
- If file exceeds budget, prefer extracting domain module(s) first.
- Keep composition/orchestration files focused on wiring.
- Do not hand-edit generated artifacts; refactor source modules.