Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-27 09:08:57 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-27 09:08:57 +0300
commiteace733dca6e5c87315b42f42eb4d8f05934d6de (patch)
treeba737686a8c8e5cc12a298db4303c60680e86e00 /doc/.linting
parentc25c2a635b1944f5811d7a5eb9984ce5999e64f6 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/.linting')
-rw-r--r--doc/.linting/vale/styles/gitlab/OxfordComma.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/.linting/vale/styles/gitlab/OxfordComma.yml b/doc/.linting/vale/styles/gitlab/OxfordComma.yml
new file mode 100644
index 00000000000..76a8d5c3f3e
--- /dev/null
+++ b/doc/.linting/vale/styles/gitlab/OxfordComma.yml
@@ -0,0 +1,6 @@
+extends: existence
+message: Use a comma before the last "and" in a list of three or more items.
+link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#punctuation
+level: warning
+tokens:
+ - '(?:[^,]+,){1,}\s\w+\sand'