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