Commit 638b7976 authored by Evan Read's avatar Evan Read

Merge branch 'docs-vale-badges' into 'master'

Create Vale rule for lowercase badges

See merge request gitlab-org/gitlab!31310
parents 6fe061f1 0f653d9b
---
# Verifies that badges are not lower case, which won't render properly.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends: existence
message: 'Badge "%s" must be capitalized.'
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#product-badges
level: error
scope: raw
raw:
- '(\*\*\(Core\)\*\*|'
- '\*\*\(core\)\*\*|'
- '\*\*\(Starter\)\*\*|'
- '\*\*\(starter\)\*\*|'
- '\*\*\(Premium\)\*\*|'
- '\*\*\(premium\)\*\*|'
- '\*\*\(Ultimate\)\*\*|'
- '\*\*\(ultimate\)\*\*|'
- '\*\*\(Core Only\)\*\*|'
- '\*\*\(Core only\)\*\*|'
- '\*\*\(core only\)\*\*|'
- '\*\*\(Starter Only\)\*\*|'
- '\*\*\(Starter only\)\*\*|'
- '\*\*\(starter only\)\*\*|'
- '\*\*\(Premium Only\)\*\*|'
- '\*\*\(Premium only\)\*\*|'
- '\*\*\(premium only\)\*\*|'
- '\*\*\(Ultimate Only\)\*\*|'
- '\*\*\(Ultimate only\)\*\*|'
- '\*\*\(ultimate only\)\*\*|'
- '\*\*\(Free Only\)\*\*|'
- '\*\*\(Free only\)\*\*|'
- '\*\*\(free only\)\*\*|'
- '\*\*\(Bronze Only\)\*\*|'
- '\*\*\(Bronze only\)\*\*|'
- '\*\*\(bronze only\)\*\*|'
- '\*\*\(Silver Only\)\*\*|'
- '\*\*\(Silver only\)\*\*|'
- '\*\*\(silver only\)\*\*|'
- '\*\*\(Gold Only\)\*\*|'
- '\*\*\(Gold only\)\*\*|'
- '\*\*\(gold only\)\*\*)'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment