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

15 lines
520 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
#
2020-07-28 23:09:34 +05:30
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
2020-05-24 23:13:21 +05:30
extends: existence
message: 'Badge "%s" must be capitalized.'
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))?\)\*\*'