diff options
Diffstat (limited to '.github/styles/Google/OxfordComma.yml')
-rw-r--r-- | .github/styles/Google/OxfordComma.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/styles/Google/OxfordComma.yml b/.github/styles/Google/OxfordComma.yml new file mode 100644 index 00000000..98b07113 --- /dev/null +++ b/.github/styles/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' |