From 65b28c1adad969de7f47d646a6643d0f0ff2ab98 Mon Sep 17 00:00:00 2001 From: mintaka Date: Sat, 12 Sep 2026 09:42:54 -0400 Subject: [PATCH] build(markdown): exempt the generated CHANGELOG from MD012 (RIG-3669) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit release-please regenerates CHANGELOG.md on every release, and its template emits a double blank line under each version heading. That trips MD012 and fails the markdown gate, first firing on compass's very first release (PR 1032, 0.2.0). The exemption belongs in config rather than the file: a hand-fix or a `rumdl fmt` pass is overwritten at the next version bump. Scoped to the one violated rule via per-file-ignores, leaving every other rule live on the CHANGELOG, matching how the MD057 carve-outs above are scoped. Ledger-impact: none — build config only. Refs RIG-3669 --- .rumdl.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.rumdl.toml b/.rumdl.toml index 4b71ff8b..3f92c10e 100644 --- a/.rumdl.toml +++ b/.rumdl.toml @@ -78,6 +78,12 @@ style = "fenced" "docs/designs/ui/compass-sidebar-pins/design.md" = ["MD057"] "docs/designs/ui/compass-sidebar-pins-unreachable-amendment/design.md" = ["MD057"] +# release-please regenerates CHANGELOG.md on every release and its template +# emits a double blank line under each version heading, tripping MD012. The +# exemption lives here rather than in the file because any hand-fix (or +# `rumdl fmt`) is overwritten at the next version bump. +"CHANGELOG.md" = ["MD012"] + # False: flags a list item's own continuation line (indented prose wrapping one # bullet) as an unpadded list — the auto-fix inserts a blank line mid-sentence. # 6 findings, all this pattern.