fmt: format and check Markdown with prettier in a container (closes #119)
check / check (push) Failing after 2m14s

make fmt and make fmt-check now cover every Markdown file with prettier
(4-space tabs, proseWrap always), as template-app-go does: prettier is
pinned by package.json and yarn.lock and runs in a docker build on a
digest-pinned node image, never on the host. The check is forced to run
with --no-cache-filter, as script/lint is.

script/fmt-check is split into a Go half and a Markdown half because the
Dockerfile lint stage cannot run docker: that stage now runs the Go half
and script/cibuild runs the Markdown half after the build. *.md leaves
.dockerignore so documents reach the build context.

README.md, TESTING.md and TODO.md are reformatted by make fmt; apart from
the Entrypoints and TODO entries, that diff is mechanical.

Model: opus-5-5
This commit is contained in:
2026-10-01 22:07:50 +00:00
parent b5814b2451
commit 180e81351a
17 changed files with 602 additions and 417 deletions
+1
View File
@@ -1,4 +1,5 @@
bin/
node_modules/
vendor/
data/
.env