no-en-dash
Flags en dashes outside numeric ranges.
| Property | Value |
|---|---|
| Kind | Hard rule |
| Engine | phrase |
| Tier | static |
| Severity | error |
| Intent | style |
| Scope | text |
Why
En dashes belong only in numeric ranges such as 2020–2024. Elsewhere they read as stray punctuation.
Examples
Flagged
The court–ordered remedy failed.
Better
The range spans 2020–2024.
Turning it off
lawlint --disable no-en-dash draft.md
Or durably, in .lawlint/config.json — see Configuration.