Skip to content

Git Hooks Update - July 2025

As of July 19, 2025, we’ve updated the pre-commit hook configuration in lefthook.yml to enforce stricter code quality standards.

The Biome linting command in the pre-commit hook has been modified to:

  1. Block commits when linting issues are found
  2. Remove the override that previously allowed commits with linting issues
# Before
biome:
run: pnpm run lint
skip_output: false
# This will allow the commit to proceed even if there are linting issues
# Remove the || true if you want to enforce strict linting
exit_status: 0
# After
biome:
run: pnpm run lint

This change enforces higher code quality standards by:

  • Preventing code with linting issues from being committed
  • Ensuring all code in the repository meets our style and quality guidelines
  • Catching issues earlier in the development process

With this stricter enforcement, we recommend:

  1. Running pnpm run lint:fix to automatically fix common issues before committing
  2. Setting up your IDE to show linting issues in real-time
  3. Addressing code quality issues as you work rather than at commit time

For complete information about our Git hooks configuration, please refer to: