2020-02-25 09:09:10 +00:00
|
|
|
---
|
2020-05-21 06:08:25 +00:00
|
|
|
# Error: gitlab.RelativeLinks
|
|
|
|
#
|
2020-02-25 09:09:10 +00:00
|
|
|
# Checks for the presence of absolute hyperlinks that should be relative.
|
|
|
|
#
|
|
|
|
# For a list of all options, see https://errata-ai.github.io/vale/styles/
|
|
|
|
extends: existence
|
2020-06-09 15:08:05 +00:00
|
|
|
message: 'Link "%s" must be relative.'
|
2020-02-25 09:09:10 +00:00
|
|
|
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#links-to-internal-documentation
|
|
|
|
level: error
|
2020-03-12 03:10:15 +00:00
|
|
|
scope: raw
|
2020-02-25 09:09:10 +00:00
|
|
|
raw:
|
|
|
|
- '\[.+\]\(https?:\/\/docs\.gitlab\.com\/ee.*\)'
|