#!/bin/sh
# Checked-in hook; enable with `mise run setup-hooks`.
# Constitution section 3: pre-commit runs format-check plus lint on staged files.
set -e
out=$(mise run pre-commit-staged 2>&1) || { printf '%s\n' "$out"; exit 1; }
