Skip to content

Lint Markdown prose with Vale - #2433

Merged
adamtheturtle merged 1 commit into
mainfrom
adamtheturtle/vale-markdown
Aug 7, 2026
Merged

Lint Markdown prose with Vale#2433
adamtheturtle merged 1 commit into
mainfrom
adamtheturtle/vale-markdown

Conversation

@adamtheturtle

Copy link
Copy Markdown
Member

Follow-up to the change that banned em dashes in reStructuredText.

.rst was the wrong boundary: it came from the shape of the original vws-python change, not from where our prose lives. Markdown is prose too, and nothing was checking it. Vale now lints both ([*.{rst,md}]), and the vale hook gains markdown to its types_or while vale sync re-runs for .md changes as well.

No prose changes were needed here; the existing Markdown is already clean. The value is preventive, and it makes the rule consistent across every repository that has this hook.

Verified locally: Vale reports no alerts over the tracked .rst and .md files, and prek run over the changed files passes.

🤖 Generated with Claude Code

Extend the ClearProse em dash ban from reStructuredText to Markdown, so
the rule covers all our prose rather than only Sphinx documentation.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@adamtheturtle
adamtheturtle merged commit 38e9b6c into main Aug 7, 2026
15 checks passed
@adamtheturtle
adamtheturtle deleted the adamtheturtle/vale-markdown branch August 7, 2026 06:32
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