mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 15:38:33 +02:00
13 lines
490 B
YAML
13 lines
490 B
YAML
---
|
|
# Warning: Qdrant.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.gitbook.io/vale/getting-started/styles
|
|
extends: existence
|
|
message: 'Use a comma before the last "and" or "or" in a list of three or more items.'
|
|
link: https://developers.google.com/style/commas#serial-commas
|
|
level: warning
|
|
raw:
|
|
- '(?:[\w-_` ]+,){2,}(?:[\w-_` ]+) (and |or )'
|