inspec/docs-chef-io/tools/vale/Microsoft/HeadingPunctuation.yml
Ian Maddaus be7cc0932a Add vale config to inspec repository
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2022-05-17 10:44:59 -04:00

13 lines
273 B
YAML

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