debian-mirror-gitlab/doc/.vale/gitlab/BadgeCapitalization.yml

15 lines
494 B
YAML
Raw Normal View History

2020-05-24 23:13:21 +05:30
---
2020-06-23 00:09:42 +05:30
# Error: gitlab.BadgeCapitalization
#
# Verifies that badges are not mixed case, which won't render properly.
2020-05-24 23:13:21 +05:30
#
2023-01-13 00:05:48 +05:30
# For a list of all options, see https://vale.sh/docs/topics/styles/
2020-05-24 23:13:21 +05:30
extends: existence
2023-01-13 00:05:48 +05:30
message: "Capitalize the '%s' badge."
2021-02-22 17:27:13 +05:30
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#product-tier-badges
2020-05-24 23:13:21 +05:30
level: error
scope: raw
raw:
2021-11-11 11:23:49 +05:30
- '(?!\*\*\((FREE|PREMIUM|ULTIMATE)( (SELF|SAAS))?\)\*\*)'
- '(?i)\*\*\((free|premium|ultimate)( (self|saas))?\)\*\*'