#!/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
