sandbox-agent/lefthook.yml
Nathan Flurry d2346bafb3
Configure lefthook formatter checks (#231)
* Add lefthook formatter checks

* Fix SDK mode hydration

* Stabilize SDK mode integration test
2026-03-10 23:03:11 -07:00

11 lines
332 B
YAML

pre-commit:
parallel: true
jobs:
- name: biome
glob: "*.{cjs,cts,js,jsx,json,jsonc,mjs,mts,ts,tsx}"
run: pnpm exec biome format --write --no-errors-on-unmatched {staged_files}
stage_fixed: true
- name: rustfmt
glob: "*.rs"
run: rustfmt --edition 2021 {staged_files}
stage_fixed: true