-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! [#138] Report links that escape repo directory
- Loading branch information
1 parent
20ad7a3
commit 991f295
Showing
3 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
tests/golden/check-local-references-outside-repo/config-virtual-file.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# SPDX-FileCopyrightText: 2022 Serokell <https://serokell.io> | ||
# | ||
# SPDX-License-Identifier: Unlicense | ||
traversal: | ||
ignored: [] | ||
verification: | ||
anchorSimilarityThreshold: 0.5 | ||
|
||
externalRefCheckTimeout: 10s | ||
|
||
notScanned: [] | ||
|
||
virtualFiles: | ||
- ../link-target.md | ||
ignoreRefs: | ||
- ^(https?|ftps?)://(localhost|127\.0\.0\.1).* | ||
|
||
ignoreAuthFailures: true | ||
|
||
defaultRetryAfter: 30s | ||
|
||
maxRetries: 3 | ||
|
||
scanners: | ||
markdown: | ||
flavor: GitHub |