13 lines
143 B
Bash
Executable File
13 lines
143 B
Bash
Executable File
#!/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
|