mirror of
https://github.com/Redocly/redoc.git
synced 2024-12-03 05:43:44 +03:00
9 lines
228 B
YAML
9 lines
228 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: error
|
||
|
nonword: true
|
||
|
tokens:
|
||
|
- '(?:[^\s,]+,){1,} \w+ (?:and|or) \w+[.?!]'
|