debian-mirror-gitlab/doc/.vale/gitlab/InternalLinkFormat.yml
2023-01-13 15:02:22 +05:30

13 lines
410 B
YAML

---
# Error: gitlab.InternalLinkFormat
#
# Checks that internal link paths don't start with './', which is not needed.
#
# For a list of all options, see https://vale.sh/docs/topics/styles/
extends: existence
message: "Edit the link so it does not start with './'."
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#links
level: error
scope: raw
raw:
- '\[[^\]]+\]\(\.\/.*?\)'