DeadLinkConfig #

How the build treats dead internal links.

Fields #

leveloptional'error' | 'warn'

error fails the build, warn only prints the report. Defaults to error.

ignoreoptionalDeadLinkIgnore[]

Links to skip. A function receives the whole DeadLink.

Full type signature
TypeScript
interface DeadLinkConfig {
  level?: 'error' | 'warn'
  ignore?: DeadLinkIgnore[]
}

Edit this page

Comments