Skip to content

Lint markdown with markdownlint-cli2 - #4

Merged
velis74 merged 4 commits into
mainfrom
markdownlint
Oct 15, 2026
Merged

velis74 merged 4 commits into
mainfrom
markdownlint

Conversation

@velis74

@velis74 velis74 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor
  • Adds markdownlint-cli2 with .markdownlint-cli2.jsonc: the default rules, line length 120 (tables and code blocks excluded), MD024 limited to sibling headings for the changelog's repeated Added / Changed / Removed and the readme's two Run-time keys sections under different parents.
  • scripts/lint.mjs runs eslint, markdownlint-cli2 and vue-tsc; lint:ci is removed and CI runs npm run lint. npm run lint only reports; npm run lint -- --fix (or npm run lint --fix, which npm passes on as npm_config_fix) also applies the eslint and markdownlint fixes.
  • .claude/settings.json: a PostToolUse hook lints each edited markdown file and reports the findings immediately.
  • Fixes the existing findings: blank lines below headings in the changelog. The changelog changes are formatting only.

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

✅ Incremental coverage — nothing to grade

No executable lines were changed between main and markdownlint.

7 files not graded (1 ignored by pattern, 6 not source files)
File Reason
.claude/settings.json not a source file
.github/workflows/ci.yml not a source file
.markdownlint-cli2.jsonc not a source file
changelog.md not a source file
package-lock.json not a source file
package.json not a source file
scripts/lint.mjs ignored by scripts/**

Coverage reports: coverage/coverage-final.json (istanbul, 1 file) — incremental-coverage-check v3.0.0

npm run lint only reports; npm run lint -- --fix (or npm run lint --fix) also applies eslint and markdownlint fixes. CI runs npm run lint.
@velis74
velis74 merged commit 6128254 into main Oct 15, 2026
2 checks passed
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