2020-04-08 14:13:33 +05:30
|
|
|
---
|
2020-06-23 00:09:42 +05:30
|
|
|
# Error: gitlab.InternalLinkExtension
|
|
|
|
#
|
2020-04-08 14:13:33 +05:30
|
|
|
# Checks that internal links have .md extenstion and not .html extension.
|
|
|
|
#
|
2023-01-13 00:05:48 +05:30
|
|
|
# For a list of all options, see https://vale.sh/docs/topics/styles/
|
2020-04-08 14:13:33 +05:30
|
|
|
extends: existence
|
2023-01-13 00:05:48 +05:30
|
|
|
message: "Link to a file and use the .md file extension instead of .html."
|
|
|
|
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#links
|
2020-04-08 14:13:33 +05:30
|
|
|
level: error
|
|
|
|
scope: raw
|
|
|
|
raw:
|
2022-10-11 01:57:18 +05:30
|
|
|
- '\[[^\]]+\]\([^:\)]+(\/(#[^\)]+)?\)|\.html(#.+)?\))'
|