summaryrefslogtreecommitdiff
path: root/doc/.vale/gitlab/VersionTextSingleLine.yml
blob: 552ccb9951e1ec63117fd77e810c51209233a41f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
# Error: gitlab.VersionTextSingleLine
#
# Verifies that single-item version notes don't have a hyphen.
#
# For a list of all options, see https://vale.sh/docs/topics/styles/
extends: existence
message: "Do not use a hyphen '-' in version text if there is only a single item."
link: https://docs.gitlab.com/ee/development/documentation/versions.html#add-a-version-history-item
level: error
scope: raw
raw:
  - '(\r|\n|\r\n){2}(> - .*)(\r|\n|\r\n){2}'