Skip to content

fix: disable MD004 markdownlint rule (blocks release-please PRs) - #30

Merged
gerfru merged 1 commit into
masterfrom
fix/markdownlint-md004-release-please
Aug 13, 2026
Merged

fix: disable MD004 markdownlint rule (blocks release-please PRs)#30
gerfru merged 1 commit into
masterfrom
fix/markdownlint-md004-release-please

Conversation

@gerfru

@gerfru gerfru commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • release-please generates its auto-release CHANGELOG sections with * bullets; every hand-written entry in this file uses -. Markdownlint's MD004 enforces a single bullet style per document (based on whichever appears first), so PR chore(master): release 4.0.0 #29 (chore(master): release 4.0.0) currently fails Lint purely because of this style clash — not a real content problem.
  • This will recur on every future release-please PR unless fixed at the config level, so disabling MD004 (consistent with how this repo already disables several other MD rules in .markdownlint.json) is the sustainable fix rather than reformatting the changelog by hand each time.

Test plan

  • bash scripts/validate-skills.sh — unaffected, still green
  • Pre-commit hooks pass locally
  • After merge: confirm PR chore(master): release 4.0.0 #29's Lint check goes green (may need release-please to re-sync its branch, or a manual re-run)

🤖 Generated with Claude Code

release-please generates its auto-release CHANGELOG sections with
asterisk bullets, while every hand-written entry in this file uses
dashes. Markdownlint's MD004 enforces one bullet style per document
based on whichever appears first, so every release-please PR fails
Lint as soon as its generated section lands above the existing
dash-based history. Disable the rule instead of fighting the
generator's fixed template.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@gerfru
gerfru merged commit 5d7c1af into master Aug 13, 2026
5 checks passed
@gerfru
gerfru deleted the fix/markdownlint-md004-release-please branch August 13, 2026 12:22
gerfru added a commit that referenced this pull request Aug 13, 2026
Same root cause as the MD004 fix in #30: release-please's generated
CHANGELOG template inserts double blank lines between its heading and
section blocks (confirmed in the live CI failure log for PR #29,
CHANGELOG.md:10 and :22). This is fixed template output from the
release-please action, not something under our control, so it will
recur on every future release PR unless disabled at the config level.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant