#!/bin/sh # Check repository markdown formatting using the pinned Prettier major version. # Run before pushing documentation changes. set -eu ROOT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)" cd "$ROOT_DIR" exec npx --yes prettier@3 --check '**/*.md'