Skip to content

Commit 7310ea4

Browse files
author
markzegarelli
authored
Merge pull request #1135 from segmentio/vale-relative-url
make sure docs links are relative
2 parents b92bb96 + 007a41a commit 7310ea4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

vale-styles/segment/relative-url.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extends: existence
2+
message: 'Link to Segment docs "%s" must be relative.'
3+
level: warning
4+
scope: raw
5+
raw:
6+
- '\[.+\]\(https://(www.)?segment.com/docs.*\)'
7+

0 commit comments

Comments
 (0)