Skip to content

LintOptions.linkCheckExcludeGlobs?

LintOptions › linkCheckExcludeGlobs?

Type: readonly string[] | undefined

Globs, relative to the root folder, of markdown files to leave out of the linkinator pass only; markdownlint-cli2 still lints them.

For a documentation site whose pages link to each other base-absolutely (/<site-base>/guides/...): those links resolve only against the BUILT site, so linkinator reports each one as a 404, and the site's own build is what checks them.

Example:

`['docs/**']`