2020-10-21 20:11:15 -04:00
|
|
|
---
|
|
|
|
# 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'."
|
2020-10-21 23:08:25 -04:00
|
|
|
level: error
|
2020-10-21 20:11:15 -04:00
|
|
|
nonword: true
|
|
|
|
scope: raw
|
|
|
|
swap:
|
|
|
|
'DANGER: *?\*\*.*\*\*': 'DANGER: \*\*(?:Warning|Important|Deprecated|Required):\*\*'
|