13 lines
493 B
YAML
13 lines
493 B
YAML
---
|
|
# Error: gitlab.AlertBoxDanger
|
|
#
|
|
# 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: "DANGER: alert boxes must be of the format 'DANGER: **Warning:**'. 'Warning' can be replaced with 'Important', 'Deprecated', or 'Required'."
|
|
level: error
|
|
nonword: true
|
|
scope: raw
|
|
swap:
|
|
'DANGER: *?\*\*.*\*\*': 'DANGER: \*\*(?:Warning|Important|Deprecated|Required):\*\*'
|