summaryrefslogtreecommitdiff
path: root/doc/.vale/gitlab/BadPlurals.yml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/.vale/gitlab/BadPlurals.yml')
-rw-r--r--doc/.vale/gitlab/BadPlurals.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/.vale/gitlab/BadPlurals.yml b/doc/.vale/gitlab/BadPlurals.yml
new file mode 100644
index 00000000000..81e2a0e563d
--- /dev/null
+++ b/doc/.vale/gitlab/BadPlurals.yml
@@ -0,0 +1,14 @@
+---
+# Suggestion: gitlab.BadPlurals
+#
+# Don't write plural words with the '(s)' construction. "HTTP(S)" is acceptable.
+#
+# For a list of all options, see https://docs.errata.ai/vale/styles
+extends: existence
+message: 'Rewrite "%s" to be plural, without parentheses.'
+link: https://docs.gitlab.com/ee/development/documentation/styleguide/word_list.html
+level: warning
+scope: raw
+ignorecase: true
+raw:
+ - '\w*\(s\)(?<!http\(s\))'