summaryrefslogtreecommitdiff
path: root/.github/styles/Google/OxfordComma.yml
blob: 98b0711353c43a3bf34a6b4b8c6974567ab8a6ef (plain)
1
2
3
4
5
6
7
extends: existence
message: "Use the Oxford comma in '%s'."
link: 'https://developers.google.com/style/commas'
scope: sentence
level: warning
tokens:
  - '(?:[^,]+,){1,}\s\w+\sand'