Files
openconcho/.husky/pre-commit
2026-04-27 11:47:26 -05:00

6 lines
194 B
Bash
Executable File

#!/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
git add -u