2021-04-17 20:07:23 +05:30
|
|
|
---
|
|
|
|
# Warning: gitlab.DefaultBranch
|
|
|
|
#
|
2023-01-13 00:05:48 +05:30
|
|
|
# Do not refer to the default branch as the 'master' branch, if possible.
|
2021-04-17 20:07:23 +05:30
|
|
|
#
|
2023-01-13 00:05:48 +05:30
|
|
|
# For a list of all options, see https://vale.sh/docs/topics/styles/
|
2021-04-17 20:07:23 +05:30
|
|
|
extends: existence
|
2023-01-13 00:05:48 +05:30
|
|
|
message: "Use 'default branch' or `main` instead of `master`, when possible."
|
2021-04-17 20:07:23 +05:30
|
|
|
level: warning
|
|
|
|
ignorecase: true
|
2023-01-13 00:05:48 +05:30
|
|
|
link: https://docs.gitlab.com/ee/development/documentation/styleguide/word_list.html#default-branch
|
2021-04-17 20:07:23 +05:30
|
|
|
scope: raw
|
|
|
|
raw:
|
|
|
|
- '\`master\`'
|