Skip to content

Commit 54502d8

Browse files
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 #172
1 parent 2b299ac commit 54502d8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: Changelog
33
description: Automatically generated changelog tracking all notable changes to the HVE Core project using semantic versioning
44
---
55

6+
<!-- markdownlint-disable MD012 -->
7+
68
All notable changes to this project will be documented in this file.
79

810
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
@@ -12,4 +14,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1214
1315
## 0.0.0 (Initial)
1416

15-
- Initial placeholder for release-please compatibility
17+
* Initial placeholder for release-please compatibility

0 commit comments

Comments
 (0)