2020-04-22 19:07:51 +05:30
|
|
|
---
|
2020-06-23 00:09:42 +05:30
|
|
|
# Error: gitlab.VersionText
|
|
|
|
#
|
2022-08-27 11:52:29 +05:30
|
|
|
# Checks that multi-line version text is formatted correctly.
|
2020-04-22 19:07:51 +05:30
|
|
|
#
|
2022-08-27 11:52:29 +05:30
|
|
|
# Specifically, looks for multi-line version text that doesn't use `-` to make it a list.
|
|
|
|
# For example:
|
2020-04-22 19:07:51 +05:30
|
|
|
#
|
2022-08-27 11:52:29 +05:30
|
|
|
# - `> Introduced in GitLab 14.0.
|
|
|
|
# - `> Removed in GitLab 15.0.
|
2020-04-22 19:07:51 +05:30
|
|
|
#
|
2023-01-13 00:05:48 +05:30
|
|
|
# For a list of all options, see https://vale.sh/docs/topics/styles/
|
2020-04-22 19:07:51 +05:30
|
|
|
extends: existence
|
2023-01-13 00:05:48 +05:30
|
|
|
message: "Start each entry with `> -`. Keep long entries on one line."
|
2022-07-16 23:28:13 +05:30
|
|
|
link: https://docs.gitlab.com/ee/development/documentation/versions.html
|
2020-04-22 19:07:51 +05:30
|
|
|
level: error
|
|
|
|
scope: raw
|
|
|
|
raw:
|
2022-08-27 11:52:29 +05:30
|
|
|
- '\n#.*\n\n> [^-].+\n[^\n`]'
|