Skip to content

Commit 265b8c9

Browse files
committed
Markdown lint ignore github docs
See #701
1 parent c5556de commit 265b8c9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.linkcheck.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"ignorePatterns": [
3+
{
4+
"pattern": "https://help.github.com/*"
5+
}
6+
]
7+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"test-asmjs": "karma start karma.asmjs.conf.js --browsers ChromeHeadlessNoSandbox,FirefoxHeadless",
4040
"lint": "eslint .",
4141
"lint-markdown": "npm run lint-markdown-style && npm run lint-markdown-links",
42-
"lint-markdown-links": "glob-exec --foreach \"{./*.md,./docs/*.md}\" -- \"npm run markdown-link-check -- {{file}}\"",
42+
"lint-markdown-links": "glob-exec --foreach \"{./*.md,./docs/*.md}\" -- \"npm run markdown-link-check -- -c .linkcheck.json {{file}}\"",
4343
"markdown-link-check": "markdown-link-check",
4444
"lint-markdown-style": "markdownlint {./*.md,./docs/*.md}",
4545
"prehttpbin": "python -V && pip -V && virtualenv --version && tox --version",

0 commit comments

Comments
 (0)