2020-03-23 23:09:28 -04:00
|
|
|
---
|
2020-05-21 02:08:25 -04:00
|
|
|
# Error: gitlab.VersionText
|
|
|
|
#
|
2020-11-09 04:08:59 -05:00
|
|
|
# Checks that version text is formatted correctly.
|
|
|
|
#
|
|
|
|
# Specifically looks for either of the following that is immediately followed on the next line
|
|
|
|
# by content, which will break rendering:
|
|
|
|
#
|
|
|
|
# - `> Introduced` (version text without a link)
|
|
|
|
# - `> [Introduced` (version text with a link)
|
|
|
|
#
|
2021-09-08 05:09:10 -04:00
|
|
|
# Because it excludes the prefix `> - `, it doesn't look for multi-line version text, for which
|
|
|
|
# content immediately on the next line is ok. However, this will often highlight where multi-line
|
|
|
|
# version text is attempted without `-` characters.
|
2020-03-23 23:09:28 -04:00
|
|
|
#
|
2020-06-24 02:09:01 -04:00
|
|
|
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
|
2020-03-23 23:09:28 -04:00
|
|
|
extends: existence
|
2020-11-02 04:08:35 -05:00
|
|
|
message: 'This introduced-in line is not formatted correctly.'
|
2022-05-10 14:08:27 -04:00
|
|
|
link: https://docs.gitlab.com/ee/development/documentation/versions.html
|
2020-03-23 23:09:28 -04:00
|
|
|
level: error
|
|
|
|
scope: raw
|
|
|
|
raw:
|
2021-09-08 05:09:10 -04:00
|
|
|
- '> \[?Introduced.+\n[^\n]'
|