mirror of
https://github.com/acedanger/finance.git
synced 2025-12-05 22:50:12 -08:00
feat: add Husky pre-commit hook for Biome checks - fixes #38
This commit is contained in:
6
.husky/pre-commit
Executable file
6
.husky/pre-commit
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
echo "Running Biome checks before commit..."
|
||||
npm run check || exit 1
|
||||
echo "Biome checks passed!"
|
||||
Reference in New Issue
Block a user