gitlab-org--gitlab-foss/doc/.vale/gitlab/Admin.yml

13 lines
562 B
YAML

---
# Warning: gitlab.Admin
#
# Checks for "admin" and recommends using the full word instead. "Admin Area" is OK.
#
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
extends: substitution
message: 'Verify this use of the word "admin". Can it be updated to "administration", "administrator", "administer", or "Admin Area"?'
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html
level: suggestion
ignorecase: true
swap:
'admin ?\w*': '(?:Admin Area|[Aa]dminist(ration|rator|rators|er|rative))'