#!/usr/bin/env bash set -euo pipefail air format . --check || { air format . echo "Air reformatted files. Stage and recommit." >&2 exit 1 } jarl check . || { jarl check . --fix --allow-dirty || true echo "Jarl fixed issues. Stage and recommit." >&2 exit 1 }