opensearch-docs-cn/.github/vale/styles/OpenSearch/OxfordComma.yml

8 lines
159 B
YAML

extends: existence
message: "Add an Oxford comma in '%s'."
scope: sentence
level: warning
nonword: true
tokens:
- '(?:[^\s,]+,){1,} \w+ (?:and|or) \w+[.?!]'