2021-03-01 21:11:09 +00:00
|
|
|
---
|
|
|
|
# Warning: gitlab.DefaultBranch
|
|
|
|
#
|
2022-11-01 00:10:27 +00:00
|
|
|
# Do not refer to the default branch as the 'master' branch, if possible.
|
2021-03-01 21:11:09 +00:00
|
|
|
#
|
2022-10-25 09:10:14 +00:00
|
|
|
# For a list of all options, see https://vale.sh/docs/topics/styles/
|
2021-03-01 21:11:09 +00:00
|
|
|
extends: existence
|
2022-11-01 00:10:27 +00:00
|
|
|
message: "Use 'default branch' or `main` instead of `master`, when possible."
|
2021-03-01 21:11:09 +00:00
|
|
|
level: warning
|
|
|
|
ignorecase: true
|
2022-11-01 00:10:27 +00:00
|
|
|
link: https://docs.gitlab.com/ee/development/documentation/styleguide/word_list.html#default-branch
|
2021-03-01 21:11:09 +00:00
|
|
|
scope: raw
|
|
|
|
raw:
|
|
|
|
- '\`master\`'
|