Skip to content

Commit 206afbf

Browse files
Mikalai Radchukm1kola
authored andcommitted
Makes linter ignore localhost hugo link
Signed-off-by: Mikalai Radchuk <[email protected]>
1 parent 3c29272 commit 206afbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hack/ci/link-check.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ CONTAINER_ENGINE=${CONTAINER_ENGINE:="docker"}
77
# ignore
88
# 1: links going back to help.github.com are rate-limited and can make this flaky
99
# 2: docsy autogenerated edit links to original markdown source, which will fail if the markdown file is new
10-
${CONTAINER_ENGINE} run --rm -v $(pwd)/public:/target mtlynch/htmlproofer /target --ignore-empty-alt --ignore-status-codes 429 --allow-hash-href --no-check-external-hash --ignore-urls '/help.github.com/,/edit\/master\/.*\.md/,/tree\/master\/.*\.md/,/new\/master\/.*filename=change-me\.md/'
10+
# 3: ignore localhost link to a hugo site
11+
${CONTAINER_ENGINE} run --rm -v $(pwd)/public:/target mtlynch/htmlproofer /target --ignore-empty-alt --ignore-status-codes 429 --allow-hash-href --no-check-external-hash --ignore-urls '/help.github.com/,/edit\/master\/.*\.md/,/tree\/master\/.*\.md/,/new\/master\/.*filename=change-me\.md/,/localhost:1313/'

0 commit comments

Comments
 (0)