mirror of https://gitlab.com/gitlab-org/cli.git
14 lines
404 B
YAML
14 lines
404 B
YAML
---
|
|
# Warning: gitlab.HistoryItems
|
|
#
|
|
# Ensures history items are properly formatted.
|
|
#
|
|
extends: existence
|
|
message: "History items must always start with '> -', one item per line, even if there is only one item."
|
|
link: https://docs.gitlab.com/ee/development/documentation/versions.html#add-a-version-history-item
|
|
level: error
|
|
scope: raw
|
|
raw:
|
|
- '(?m)(?<=^#+[^\n]*\n\n)> [^-]|'
|
|
- '^> - [^\n]*\n[^\n>`]'
|