You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exempt a List Item's Label Separator from the Dash Rule for Every Marker and Bold Spelling #2770
bugSomething isn't workingpre-existingReview finding classed pre-existing per local-strict-review Disposing of FindingsproseA defect in rule or procedure text
LABEL_DASH in .github/actions/prose-gate/prose_lint.py exempts a list item's opening - **Label** - explanation separator from the dash rule, but it states its own marker set (-, *, N.) and reads only the ** spelling. LIST_MARKER accepts + and N) as well, and the comment-and-doc-style rule exempts the label separator whatever spells it.
So the same bullet is judged two ways depending on its marker or emphasis. Constructed examples:
- **Label** - text and 1. **Label** - text give no finding.
+ **Label** - text, 1) **Label** - text, - __Label__ - text, and - ***Label*** - text each report dash.
This is the second site of the defect class #2738 fixed in LABEL_COLON, found by the local review of that fix's pull request.
Done Looks Like
LABEL_DASH builds on LIST_MARKER_TOKEN rather than its own marker set, and the strong-emphasis alternation LABEL_COLON carries moves into one shared token both patterns use. A test feeds each marker and each bold spelling and asserts one verdict for all of them.
bugSomething isn't workingpre-existingReview finding classed pre-existing per local-strict-review Disposing of FindingsproseA defect in rule or procedure text
Activity
Strip a List Item's Opening Label for Every Marker and Bold Spelling …
Exempt a List Item's Label Separator from the Dash Rule for Every Mar…