Skip to content

Commit 14e17a5

Browse files
authored
Merge pull request #667 from MikeMcC399/fix/check-markdown
Make check:markdown successful for github domain checks
2 parents 57031a3 + 69ce44e commit 14e17a5

File tree

3 files changed

+31
-15
lines changed

3 files changed

+31
-15
lines changed

md-linkcheck.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"httpHeaders": [
3+
{
4+
"urls": [
5+
"https://github.com/",
6+
"https://guides.github.com/",
7+
"https://docs.github.com/",
8+
"https://help.github.com/",
9+
"https://support.github.com"
10+
],
11+
"headers": {
12+
"Accept-Encoding": "zstd, br, gzip, deflate"
13+
}
14+
}
15+
]
16+
}

package-lock.json

+13-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "echo \"There are no tests :(\"",
1414
"build": "ncc build -o dist index.js",
1515
"format": "prettier --write index.js",
16-
"check:markdown": "find *.md -exec npx markdown-link-check {} \\;",
16+
"check:markdown": "find *.md -print0 | xargs -0 -n1 markdown-link-check -c md-linkcheck.json",
1717
"install-v10-deps": "./scripts/npm-install-v10-examples.sh"
1818
},
1919
"repository": {
@@ -48,7 +48,7 @@
4848
"@types/node": "18.11.9",
4949
"@vercel/ncc": "0.34.0",
5050
"husky": "7.0.4",
51-
"markdown-link-check": "3.10.2",
51+
"markdown-link-check": "3.10.3",
5252
"prettier": "2.6.2",
5353
"stop-build": "1.1.0"
5454
},

0 commit comments

Comments
 (0)