summaryrefslogtreecommitdiff
path: root/ci/vale/Google/OxfordComma.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/vale/Google/OxfordComma.yml')
-rw-r--r--ci/vale/Google/OxfordComma.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ci/vale/Google/OxfordComma.yml b/ci/vale/Google/OxfordComma.yml
new file mode 100644
index 00000000..98b07113
--- /dev/null
+++ b/ci/vale/Google/OxfordComma.yml
@@ -0,0 +1,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'