blog/vale-styles/Microsoft/HeadingPunctuation.yml

14 lines
273 B
YAML
Raw Normal View History

2021-11-27 14:04:27 +01:00
extends: existence
message: "Don't use end punctuation in headings."
link: https://docs.microsoft.com/en-us/style-guide/punctuation/periods
nonword: true
level: warning
scope: heading
action:
name: edit
params:
- remove
- '.?!'
tokens:
- '[a-z][.?!](?:\s|$)'