inspec/docs-chef-io/tools/vale/Microsoft/OxfordComma.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

8 lines
233 B
YAML

extends: existence
message: "Use the Oxford comma in '%s'."
link: https://docs.microsoft.com/en-us/style-guide/punctuation/commas
scope: sentence
level: suggestion
nonword: true
tokens:
- '(?:[^\s,]+,){1,} \w+ (?:and|or) \w+[.?!]'