Problem
We added Biome for JSON linting (#297), but there's no pre-commit hook to catch formatting issues locally before pushing.
Solution
Add Biome pre-commit hook to .pre-commit-config.yaml:
- repo: [https://github.com/biomejs/pre-commit](https://github.com/biomejs/pre-commit)
rev: "v0.1.0"
hooks:
- id: biome-check
additional_dependencies: ["@biomejs/biome"]
args: ["--write", "--files-ignore-unknown=true"]
Benefits
Catch formatting issues locally
Faster feedback loop
Match CI checks before pushing
Related: #297
Problem
We added Biome for JSON linting (#297), but there's no pre-commit hook to catch formatting issues locally before pushing.
Solution
Add Biome pre-commit hook to .pre-commit-config.yaml: