Configure prettier and make fmt-check cover markdown (closes #69)
All checks were successful
check / check (push) Successful in 4s
All checks were successful
check / check (push) Successful in 4s
Adds .prettierrc and .prettierignore, a single script/prettier entrypoint shared by fmt and fmt-check so the two cannot drift, and prettier 3.9.6 pinned by yarn.lock integrity hash. Markdown formatting is now gated in the authoritative Docker build via a new mdfmt stage, since the golangci-lint image has no node. REPO_POLICIES.md is ignored so local tooling cannot drift it from upstream. Removes the || true that made the previous prettier invocation unable to fail.
This commit was merged in pull request #88.
This commit is contained in:
14
.prettierignore
Normal file
14
.prettierignore
Normal file
@@ -0,0 +1,14 @@
|
||||
# REPO_POLICIES.md is a verbatim copy of an authoritative upstream
|
||||
# document (sneak/prompts). Local tooling must never rewrite it: any
|
||||
# reformatting is silent drift from the source of truth.
|
||||
REPO_POLICIES.md
|
||||
|
||||
# User-owned configuration, copied verbatim from upstream. Not matched by
|
||||
# the current prettier file set, but listed so widening that set can never
|
||||
# start rewriting it.
|
||||
.golangci.yml
|
||||
|
||||
# Dependencies and build output
|
||||
node_modules/
|
||||
vendor/
|
||||
bin/
|
||||
Reference in New Issue
Block a user