Skip to content

Commit 86a2e13

Browse files
committed
exclude /blame/ URLs in remark lint configuration
1 parent 2752d85 commit 86a2e13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.no-dead-urls.remarkrc.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ const remarkLintNoDeadUrlsOptions = {
1414
// produce the error that the hash can not be found as anchor element
1515
// I do NOT want to disable all of github.com
1616
// disabling all the urls with a line number hash would be ideal but not sure how to do that
17-
// for now I search for /blob/ in the URL and exclude those
17+
// for now I search for /blob/ or /blame/ in the URL and exclude those
1818
'/*/blob/*/',
19+
'/*/blame/*/',
1920
// this page wants to redirect to a url with the language set
2021
// I prefer to use the URL with no language
2122
// so that it adapts to the user's language that will visit

0 commit comments

Comments
 (0)