Skip to content

Commit

Permalink
Merge pull request #667 from MikeMcC399/fix/check-markdown
Browse files Browse the repository at this point in the history
Make check:markdown successful for github domain checks
  • Loading branch information
jaffrepaul committed Dec 14, 2022
2 parents 57031a3 + 69ce44e commit 14e17a5
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 15 deletions.
16 changes: 16 additions & 0 deletions md-linkcheck.json
@@ -0,0 +1,16 @@
{
"httpHeaders": [
{
"urls": [
"https://github.com/",
"https://guides.github.com/",
"https://docs.github.com/",
"https://help.github.com/",
"https://support.github.com"
],
"headers": {
"Accept-Encoding": "zstd, br, gzip, deflate"
}
}
]
}
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -13,7 +13,7 @@
"test": "echo \"There are no tests :(\"",
"build": "ncc build -o dist index.js",
"format": "prettier --write index.js",
"check:markdown": "find *.md -exec npx markdown-link-check {} \\;",
"check:markdown": "find *.md -print0 | xargs -0 -n1 markdown-link-check -c md-linkcheck.json",
"install-v10-deps": "./scripts/npm-install-v10-examples.sh"
},
"repository": {
Expand Down Expand Up @@ -48,7 +48,7 @@
"@types/node": "18.11.9",
"@vercel/ncc": "0.34.0",
"husky": "7.0.4",
"markdown-link-check": "3.10.2",
"markdown-link-check": "3.10.3",
"prettier": "2.6.2",
"stop-build": "1.1.0"
},
Expand Down

0 comments on commit 14e17a5

Please sign in to comment.