add githooks and setup.sh

This commit is contained in:
2025-08-31 18:14:50 +02:00
parent 756e709181
commit 2b21310dfb
4 changed files with 15 additions and 5 deletions

12
githooks/pre-commit Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
echo "Running pre-commit hooks..."
biome check --write
biome lint --write
if git diff --quiet; then
exit 0
else
git add -u
fi