8 lines
159 B
YAML
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+[.?!]'
|