Files
prompts/script/fmt-check
sneak d0958fce80
All checks were successful
check / check (push) Successful in 8s
Make script/ entrypoints POSIX sh; add bootstrap and setup
2026-07-06 23:03:17 +02:00

13 lines
225 B
Bash
Executable File

#!/bin/sh
# script/fmt-check: check formatting (read-only).
set -eu
ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
main() {
cd "$ROOT"
yarn run prettier --check '**/*.md' --tab-width 4 --prose-wrap always
}
main "$@"