debian-mirror-gitlab/doc/.vale/gitlab/VersionTextSingleLine.yml

14 lines
454 B
YAML
Raw Normal View History

2022-08-27 11:52:29 +05:30
---
# Error: gitlab.VersionTextSingleLine
#
# Verifies that single-item version notes don't have a hyphen.
#
2023-01-13 00:05:48 +05:30
# For a list of all options, see https://vale.sh/docs/topics/styles/
2022-08-27 11:52:29 +05:30
extends: existence
2023-01-13 00:05:48 +05:30
message: "Do not use a hyphen '-' in version text if there is only a single item."
2022-08-27 11:52:29 +05:30
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}'