Commit 54502d8
authored
fix(build): disable MD012 lint rule in CHANGELOG for release-please compatibility (#173)
## Summary
Fixes markdown lint failures caused by release-please's generated
CHANGELOG content by disabling the MD012 rule (multiple consecutive
blank lines) and converting the existing dash list marker to an
asterisk.
## Changes
- Add \<!-- markdownlint-disable MD012 -->\ after frontmatter to allow
multiple blank lines
- Change \- Initial placeholder\ to \* Initial placeholder\ for MD004
compliance
## Why This Approach
Release-please uses \conventional-changelog-writer\ with hardcoded
templates that generate multiple consecutive blank lines between
sections. Rather than post-processing the CHANGELOG on every release, we
disable the specific lint rule that conflicts with the generated output.
## Testing
- Ran \
px markdownlint-cli2 CHANGELOG.md\ - 0 errors
Closes #1721 parent 2b299ac commit 54502d8
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | | - | |
| 17 | + | |
0 commit comments