debian-mirror-gitlab/doc/.vale/gitlab/InternalLinkFormat.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
410 B
YAML
Raw Normal View History

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