1 2 3 4 5 6 7 8
#!/usr/bin/env bash set -euo pipefail repo_root="$(git rev-parse --show-toplevel)" cd "$repo_root" echo "pre-commit: running just lint" just lint