Skip to content

refactor(biggest): split utils for 450-line rule#23

Merged
hmmhmmhm merged 1 commit intomainfrom
chore/split-biggest-utils
May 6, 2026
Merged

refactor(biggest): split utils for 450-line rule#23
hmmhmmhm merged 1 commit intomainfrom
chore/split-biggest-utils

Conversation

@hmmhmmhm
Copy link
Copy Markdown
Owner

@hmmhmmhm hmmhmmhm commented May 5, 2026

packages/biggest/src/utils.ts was 466 lines, exceeding the 450-line rule from AGENTS.md.

Extracted formatting utilities into a co-located module:

  • packages/biggest/src/utils.ts: 393 lines (down from 466)
  • packages/biggest/src/format-utils.ts: 77 lines (new)

Both files now under 450 lines. utils.ts re-exports from format-utils so the published API of biggest is unchanged.

Verification:

  • pnpm check-types: passed

No public API or exported function signatures changed.

@hmmhmmhm hmmhmmhm marked this pull request as ready for review May 5, 2026 06:27
@hmmhmmhm hmmhmmhm merged commit f311d70 into main May 6, 2026
10 checks passed
@hmmhmmhm hmmhmmhm deleted the chore/split-biggest-utils branch May 6, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant