summaryrefslogtreecommitdiff
path: root/doc/.vale
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-05-27 00:08:11 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-27 00:08:11 +0000
commita78d7d5c667a0844e52419f11cb83a9ac60ee6d2 (patch)
treee317ab1400f6c7e836f8d08d4deea205ad343c39 /doc/.vale
parentea335f33ff8c6870e641385a254c1f993bb04038 (diff)
downloadgitlab-ce-a78d7d5c667a0844e52419f11cb83a9ac60ee6d2.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/.vale')
-rwxr-xr-xdoc/.vale/gitlab/SentenceLength.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/.vale/gitlab/SentenceLength.yml b/doc/.vale/gitlab/SentenceLength.yml
new file mode 100755
index 00000000000..5894fd28f99
--- /dev/null
+++ b/doc/.vale/gitlab/SentenceLength.yml
@@ -0,0 +1,11 @@
+---
+# Counts words in a sentence and alerts if a sentence exceeds 25 words.
+#
+# For a list of all options, see https://errata-ai.github.io/vale/styles/
+extends: occurrence
+message: "Shorter sentences improve readability (max 25 words)."
+scope: sentence
+link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#language
+level: warning
+max: 25
+token: \b(\w+)\b