2020-03-12 02:09:35 -04:00
|
|
|
---
|
2020-05-21 02:08:25 -04:00
|
|
|
# Error: gitlab.InternalLinkExtension
|
|
|
|
#
|
2020-03-12 02:09:35 -04:00
|
|
|
# Checks that internal links have .md extenstion and not .html extension.
|
|
|
|
#
|
2020-06-24 02:09:01 -04:00
|
|
|
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
|
2020-03-12 02:09:35 -04:00
|
|
|
extends: existence
|
2020-06-09 11:08:05 -04:00
|
|
|
message: 'Link "%s" must use the .md file extension.'
|
2020-03-12 02:09:35 -04:00
|
|
|
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#links-to-internal-documentation
|
|
|
|
level: error
|
|
|
|
scope: raw
|
|
|
|
raw:
|
2020-11-08 22:09:03 -05:00
|
|
|
- '\[.+\]\((https?:){0}[\w\/\.-]+(\.html).*?\)'
|