14 lines
494 B
YAML
14 lines
494 B
YAML
---
|
|
# Error: gitlab.BadgeCapitalization
|
|
#
|
|
# Verifies that badges are not mixed case, which won't render properly.
|
|
#
|
|
# For a list of all options, see https://vale.sh/docs/topics/styles/
|
|
extends: existence
|
|
message: "Capitalize the '%s' badge."
|
|
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#product-tier-badges
|
|
level: error
|
|
scope: raw
|
|
raw:
|
|
- '(?!\*\*\((FREE|PREMIUM|ULTIMATE)( (SELF|SAAS))?\)\*\*)'
|
|
- '(?i)\*\*\((free|premium|ultimate)( (self|saas))?\)\*\*'
|