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

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

14 lines
441 B
YAML
Raw Normal View History

2021-02-22 17:27:13 +05:30
---
# Error: gitlab.InternalLinkCase
#
# Checks that anchor fragments on internal links are in lower-case.
#
2023-01-13 00:05:48 +05:30
# For a list of all options, see https://vale.sh/docs/topics/styles/
2021-02-22 17:27:13 +05:30
extends: existence
2023-01-13 00:05:48 +05:30
message: "Use lowercase for the anchor link."
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#anchor-links
2021-02-22 17:27:13 +05:30
level: error
scope: raw
raw:
- '[^\`]\[[^\[\]]+\]\((https?:){0}[\w\/\.]*?#[^\s]*?[A-Z][^\) ]*\)[^\`]'