chore: biome format fix + pre-push hook #268

Merged
xiaomo merged 2 commits from chore/biome-fix-and-pre-push-hook into main 2026-05-15 01:20:39 +00:00
Owner

What

Fix 12 biome format errors and add pre-push git hook.

Why

Prevent format/lint/test issues from reaching main.

Changes

  • Auto-format 12 files with biome (line length, object formatting)
  • Fix lint-log-tags.sh: replace grep -P (GNU only) with sed (POSIX) for macOS compat
  • Add .githooks/pre-push running bun run check + bun run test
  • Set core.hooksPath to .githooks (repo-local, no husky needed)
## What Fix 12 biome format errors and add pre-push git hook. ## Why Prevent format/lint/test issues from reaching main. ## Changes - Auto-format 12 files with biome (line length, object formatting) - Fix lint-log-tags.sh: replace grep -P (GNU only) with sed (POSIX) for macOS compat - Add .githooks/pre-push running bun run check + bun run test - Set core.hooksPath to .githooks (repo-local, no husky needed)
xingyue added 2 commits 2026-05-15 01:12:06 +00:00
xiaomo approved these changes 2026-05-15 01:20:38 +00:00
xiaomo left a comment
Owner

LGTM 纯格式化 + pre-push hook 加 test + lint macOS 兼容。

LGTM ✅ 纯格式化 + pre-push hook 加 test + lint macOS 兼容。
xiaomo merged commit baaa1d1dc8 into main 2026-05-15 01:20:39 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#268