5 lines
183 B
Plaintext
5 lines
183 B
Plaintext
|
|
#!/bin/sh
|
||
|
|
STAGED=$(git diff --cached --name-only --diff-filter=ACMR | grep -E "\.(ts|tsx|js|jsx|css|json)$" || true)
|
||
|
|
[ -z "$STAGED" ] && exit 0
|
||
|
|
pnpm exec biome check --write --staged
|