Git Hooks Update - July 2025
Git Hooks Update - July 2025
Section titled “Git Hooks Update - July 2025”Changes to Pre-commit Linting Behavior
Section titled “Changes to Pre-commit Linting Behavior”As of July 19, 2025, we’ve updated the pre-commit hook configuration in lefthook.yml
to enforce stricter code quality standards.
What Changed
Section titled “What Changed”The Biome linting command in the pre-commit hook has been modified to:
- Block commits when linting issues are found
- Remove the override that previously allowed commits with linting issues
# Beforebiome: 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
# Afterbiome: run: pnpm run lint
Rationale
Section titled “Rationale”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
Best Practices
Section titled “Best Practices”With this stricter enforcement, we recommend:
- Running
pnpm run lint:fix
to automatically fix common issues before committing - Setting up your IDE to show linting issues in real-time
- Addressing code quality issues as you work rather than at commit time
Related Documentation
Section titled “Related Documentation”For complete information about our Git hooks configuration, please refer to: