summaryrefslogtreecommitdiff
path: root/doc/.vale/gitlab/AlertBoxStyle.yml
blob: 8f9e444edc1a44786c4700a719849164670f5b89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
# Error: gitlab.AlertBoxStyle
#
# Makes sure alert boxes follow standard formatting.
#
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
extends: existence
message: 'Alert box "%s" must use the formatting in the style guide.'
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#alert-boxes
level: error
scope: raw
raw:
  - '((NOTE|TIP|CAUTION|DANGER): \*\*[^:]*\*\*)|'
  - '((NOTE: \*\*(NOTE|note):\*\*)|(TIP: \*\*(TIP|tip):\*\*)|(CAUTION: \*\*(CAUTION|caution):\*\*)|(DANGER: \*\*(DANGER|danger):\*\*))|'
  - '((NOTE|TIP|CAUTION|DANGER): \*\*.*\*\*.+)|'
  - '((\n[> ]*(\*){1,2}(NOTE|Note|note|TIP|Tip|tip|CAUTION|Caution|caution|DANGER|Danger|danger):(\*){1,2}))'