diff --git a/.linkcheck.json b/.linkcheck.json new file mode 100644 index 000000000..124af430a --- /dev/null +++ b/.linkcheck.json @@ -0,0 +1,7 @@ +{ + "ignorePatterns": [ + { + "pattern": "https://help.github.com/*" + } + ] +} \ No newline at end of file diff --git a/package.json b/package.json index 9910e74ab..7322c1957 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "test-asmjs": "karma start karma.asmjs.conf.js --browsers ChromeHeadlessNoSandbox,FirefoxHeadless", "lint": "eslint .", "lint-markdown": "npm run lint-markdown-style && npm run lint-markdown-links", - "lint-markdown-links": "glob-exec --foreach \"{./*.md,./docs/*.md}\" -- \"npm run markdown-link-check -- {{file}}\"", + "lint-markdown-links": "glob-exec --foreach \"{./*.md,./docs/*.md}\" -- \"npm run markdown-link-check -- -c .linkcheck.json {{file}}\"", "markdown-link-check": "markdown-link-check", "lint-markdown-style": "markdownlint {./*.md,./docs/*.md}", "prehttpbin": "python -V && pip -V && virtualenv --version && tox --version",