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

15 lines
444 B
YAML
Raw Normal View History

2022-08-27 11:52:29 +05:30
---
# Error: gitlab.MultiLineLinks
#
# Checks that links are all on a single line.
#
2023-01-13 00:05:48 +05:30
# For a list of all options, see https://vale.sh/docs/topics/styles/
2022-08-27 11:52:29 +05:30
extends: existence
2023-01-13 00:05:48 +05:30
message: "Put the full link on one line, even if the link is very long."
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#links
2022-08-27 11:52:29 +05:30
level: error
scope: raw
raw:
- '\[[^\[\]]*?\n[^\[\]]*?\]\([^\)]*?\)|'
- '\[[^\[\]]*?\]\([^\)]*?\n[^\)]*\)'