mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
be7cc0932a
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
8 lines
233 B
YAML
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+[.?!]'
|