Skip to content

VBC-948: em-dash-prose ​

warning

Category: docs
Analysis: Regex (line by line)
File types: .md, .txt
Scope: source code only, ignoring anything inside strings and comments
Off by default. Name it in slopless.config.json to turn it on.
Tags: docs ai-slop

What it reports ​

Em dash at line {line}. They cluster heavily in generated prose, so a reader looking for the seams finds them here first. If the break is explanatory use a colon, if it qualifies use a comma, if it is an aside use parentheses, and if the two halves are separate thoughts use a full stop. Keep it only where you chose it deliberately.

Flagged ​

md
The scanner failed — silently.
md
Four scopes — code, strings, comments, all — cover every case.

Not flagged ​

md
The scanner failed, silently.
md
Four scopes (code, strings, comments, all) cover every case.
md
Copyright 2020–2026 Acme Ltd.

Pattern ​

regex
—

Released under the MIT License.