mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-17 05:00:20 +00:00
Configure lefthook formatter checks (#231)
* Add lefthook formatter checks * Fix SDK mode hydration * Stabilize SDK mode integration test
This commit is contained in:
parent
0471214d65
commit
d2346bafb3
282 changed files with 5840 additions and 8399 deletions
11
lefthook.yml
Normal file
11
lefthook.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue