mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-28 19:43:43 +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+[.?!]'
|