14 lines
559 B
YAML
14 lines
559 B
YAML
---
|
|
# Error: gitlab.AlertBoxCaution
|
|
#
|
|
# Makes sure DANGER: alert boxes follow standard formatting.
|
|
#
|
|
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
|
|
extends: substitution
|
|
message: "CAUTION: alert boxes must be of the format 'CAUTION: **Caution:**'. 'Caution' can be replaced with 'Warning' or 'Important'."
|
|
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#alert-boxes
|
|
level: warning
|
|
nonword: true
|
|
scope: raw
|
|
swap:
|
|
'CAUTION: *?\*\*.*\*\*': 'CAUTION: \*\*(?:Caution|Warning|Important):\*\*'
|