We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
\s
1 parent 191143d commit a95e0fbCopy full SHA for a95e0fb
Microsoft/HeadingPunctuation.yml
@@ -5,4 +5,4 @@ nonword: true
5
level: warning
6
scope: heading
7
tokens:
8
- - '[a-z0-9][.?!]\s'
+ - '[a-z0-9][.?!](?:\s|$)'
features/rules.feature
@@ -131,7 +131,7 @@ Feature: Rules
131
"""
132
test.md:1:7:Microsoft.HeadingColons:Capitalize ': m'."
133
test.md:5:3:Microsoft.Headings:'This is a Heading' should use sentence-style capitalization.
134
- test.md:7:11:Microsoft.HeadingPunctuation:Don’t use end punctuation in headings.
+ test.md:7:13:Microsoft.HeadingPunctuation:Don’t use end punctuation in headings.
135
test.md:9:15:Microsoft.HeadingAcronyms:Avoid using acronyms in a title or heading.
136
137
0 commit comments