Skip to content

Add markdownlint to CI for Markdown file validation#137

Merged
lex57ukr merged 1 commit intomainfrom
134-add-markdownlint-to-ci
Feb 1, 2026
Merged

Add markdownlint to CI for Markdown file validation#137
lex57ukr merged 1 commit intomainfrom
134-add-markdownlint-to-ci

Conversation

@lex57ukr
Copy link
Contributor

@lex57ukr lex57ukr commented Feb 1, 2026

Summary

Enforce consistent Markdown formatting across documentation files by adding markdownlint to the CI lint job. This catches formatting issues like heading levels, list indentation, and code block formatting.

Related Issues

Fixes #134

Changes

  • Create .markdownlint.json with project-specific rules (4-space list indent, line-length disabled)
  • Add markdownlint check step to CI lint job using DavidAnson/markdownlint-cli2-action
  • Add lint-markdown target to Makefile for local validation
  • Fix existing violations in markdown files (code block languages, heading levels, list formatting)
  • Update CLAUDE.md and CONTRIBUTING.md documentation

- Create .markdownlint.json with project-specific rules
- Add markdownlint setup and check step to CI lint job
- Add lint-markdown target to Makefile
- Fix existing violations in markdown files
- Update CLAUDE.md and CONTRIBUTING.md documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@lex57ukr lex57ukr added the enhancement New feature or request label Feb 1, 2026
Copilot AI review requested due to automatic review settings February 1, 2026 22:41
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces markdownlint validation to the CI pipeline to enforce consistent Markdown formatting across documentation files. This addresses issue #134 by catching common formatting issues like inconsistent heading levels, improper list indentation, and missing code block language identifiers.

Changes:

  • Added markdownlint configuration and CI integration
  • Fixed existing Markdown formatting violations in documentation files
  • Updated project documentation to reflect the new linting requirement

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.markdownlint.json Defines project-specific markdownlint rules including 4-space list indentation and disabled line-length checks
.github/workflows/ci.yml Adds markdownlint validation step to the lint job using DavidAnson/markdownlint-cli2-action
Makefile Adds lint-markdown target for local validation and includes it in the main lint target
CLAUDE.md Adds code block language identifiers and documents markdownlint configuration
CONTRIBUTING.md Documents the new markdownlint validation requirement
docs/how-to/how-to-workflow.md Adds blank lines after "Do:" and "Don't:" headings per markdown formatting rules
docs/how-to/how-to-test-man-page.md Corrects heading levels from ### to ## for proper hierarchy
.claude/commands/issue-checkout.md Adds text language identifier to code blocks

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lex57ukr lex57ukr merged commit 196ff8c into main Feb 1, 2026
5 checks passed
@lex57ukr lex57ukr deleted the 134-add-markdownlint-to-ci branch February 1, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add markdownlint to CI for Markdown file validation

1 participant