Welcome to mirror list, hosted at ThFree Co, Russian Federation.

InternalLinkCase.yml « gitlab « .vale « doc - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fded735812ae6473a310292d64d2f6a3bbc22809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
# Error: gitlab.InternalLinkCase
#
# Checks that anchor fragments on internal links are in lower-case.
#
# For a list of all options, see https://vale.sh/docs/topics/styles/
extends: existence
message: "Use lowercase for the anchor link."
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#anchor-links
level: error
scope: raw
raw:
  - '[^\`]\[[^\[\]]+\]\((https?:){0}[\w\/\.]*?#[^\s]*?[A-Z][^\) ]*\)[^\`]'