Commit de4d6fe
committed
Tools: HF-24 wire snippets:check into the lint CI workflow
Runs `npm run snippets:check` (= extract + `git diff --exit-code` on
`test-utils/snippets/`) before the linter. Fails the lint job — same
gate as eslint — when a documented snippet has drifted from the
committed generated file. Closes the feedback loop the codegen
infrastructure was built for: docs become a load-bearing source of
truth, not a parallel artifact that drifts silently.
Companion to 6a441b3 (the codegen MVP); together these mean any
future edit to `docs/guide/currency-handling.md`'s adapter snippet must
either be regenerated locally or the CI will block the merge.1 parent 6a441b3 commit de4d6fe
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
0 commit comments