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

OxfordComma.yml « gitlab « .vale « doc - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e04d209d960730b6a9b8822a96b566edfcfe7a84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
# Warning: gitlab.OxfordComma
#
# Checks for the lack of an Oxford comma. In some cases, will catch overly
# complex sentence structures with lots of commas.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends: existence
message: 'Use a comma before the last "and" or "or" in a list of four or more items.'
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#punctuation
level: warning
raw:
  - '(?:[\w-_` ]+,){2,}(?:[\w-_` ]+) (and |or )'