diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-27 09:08:57 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-27 09:08:57 +0300 |
commit | eace733dca6e5c87315b42f42eb4d8f05934d6de (patch) | |
tree | ba737686a8c8e5cc12a298db4303c60680e86e00 /doc/.linting | |
parent | c25c2a635b1944f5811d7a5eb9984ce5999e64f6 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/.linting')
-rw-r--r-- | doc/.linting/vale/styles/gitlab/OxfordComma.yml | 6 |
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' |