check / check (push) Waiting to run
main's tree, with next merged on 26 October, as one commit onto prod, on sneak's order. Model: opus-5-5 Co-authored-by: clawbot <clawbot@noreply.example.org>
14 lines
301 B
Bash
Executable File
14 lines
301 B
Bash
Executable File
#!/bin/sh
|
|
# script/frontend-fmt-check: check prettier formatting (read-only). Same
|
|
# scope as script/frontend-fmt, but fails instead of writing.
|
|
set -eu
|
|
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
|
|
|
|
main() {
|
|
cd "$ROOT"
|
|
"$ROOT/script/yarn" prettier --check '**/*.{js,css,html,md}'
|
|
}
|
|
|
|
main "$@"
|