summaryrefslogtreecommitdiff
path: root/public/vale/.vale-styles/Google/OptionalPlurals.yml
diff options
context:
space:
mode:
authorChristian Segundo2023-10-12 14:23:12 +0200
committerChristian Segundo2023-10-12 14:23:12 +0200
commit0b7186eac839b8690f8951aca4fc2657944ab3b6 (patch)
treea37e56d651d80f0876dc531600ca9a25d723fd02 /public/vale/.vale-styles/Google/OptionalPlurals.yml
parent3a974be2bf6ecace920add9b80f0c63b3e235dc6 (diff)
downloaddotfiles-0b7186eac839b8690f8951aca4fc2657944ab3b6.tar.gz
Add vale
Diffstat (limited to 'public/vale/.vale-styles/Google/OptionalPlurals.yml')
-rw-r--r--public/vale/.vale-styles/Google/OptionalPlurals.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/public/vale/.vale-styles/Google/OptionalPlurals.yml b/public/vale/.vale-styles/Google/OptionalPlurals.yml
new file mode 100644
index 0000000..f858ea6
--- /dev/null
+++ b/public/vale/.vale-styles/Google/OptionalPlurals.yml
@@ -0,0 +1,12 @@
+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
+action:
+ name: edit
+ params:
+ - remove
+ - '(s)'
+tokens:
+ - '\b\w+\(s\)'