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
|
|
|
#
|
2020-07-28 23:09:34 +05:30
|
|
|
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
|
2020-04-22 19:07:51 +05:30
|
|
|
extends: existence
|
2022-08-27 11:52:29 +05:30
|
|
|
message: 'This introduced-in section is not formatted correctly. Each entry must start with `> -` and long entries must be 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`]'
|