inspec/docs-chef-io/tools/vale/Microsoft/HeadingPunctuation.yml

14 lines
273 B
YAML
Raw Normal View History

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|$)'