summaryrefslogtreecommitdiff
path: root/.github/styles/Google/OptionalPlurals.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/styles/Google/OptionalPlurals.yml')
-rw-r--r--.github/styles/Google/OptionalPlurals.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/styles/Google/OptionalPlurals.yml b/.github/styles/Google/OptionalPlurals.yml
new file mode 100644
index 00000000..7058932f
--- /dev/null
+++ b/.github/styles/Google/OptionalPlurals.yml
@@ -0,0 +1,7 @@
+extends: existence
+message: "Don't use plurals in parentheses such as in '%s'."
+link: 'https://developers.google.com/style/plurals-parentheses'
+level: error
+nonword: true
+tokens:
+ - '\b\w+\(s\)'