2020-10-15 20:08:56 -04:00
|
|
|
---
|
2020-10-19 02:09:08 -04:00
|
|
|
# Warning: gitlab.Admin
|
2020-10-15 20:08:56 -04:00
|
|
|
#
|
2021-01-05 19:10:23 -05:00
|
|
|
# Checks for "admin" and recommends using the full word instead. "Admin Area" is OK.
|
2020-10-15 20:08:56 -04:00
|
|
|
#
|
|
|
|
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
|
|
|
|
extends: substitution
|
|
|
|
message: 'Use "administration", "administrator", "administer", or "Admin Area" instead of "admin" or "admin area".'
|
|
|
|
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html
|
2021-01-20 10:10:29 -05:00
|
|
|
# Do not set `level: error`, as our docs refer to other docs which use "admin" and "Admin"
|
2020-10-15 20:08:56 -04:00
|
|
|
level: warning
|
|
|
|
ignorecase: true
|
|
|
|
swap:
|
2021-01-27 16:09:12 -05:00
|
|
|
'admin ?\w*': '(?:Admin Area|[Aa]dminist(ration|rator|rators|er|rative))'
|