Link Checker
Guides

Inspections

What inspections are run and how to configure them.

Inspections

The following inspections are run by default:

InspectionDescription
missing-hashChecks for missing hashes in internal links.
no-error-responseChecks for error responses (4xx, 5xx) on internal links.
no-baselessChecks for baseless links.
no-javascriptChecks for javascript links.
trailing-slashChecks for trailing slashes on internal links.
absolute-site-urlsChecks for absolute site URLs.
redirectsChecks for redirects.

Skipping Inspections

You can skip inspections by adding them to the skipInspections array.

For example, if you want to skip the missing-hash inspection, you can do so with:

export default defineNuxtConfig({
  linkChecker: {
    skipInspections: [
      'missing-hash'
    ],
  },
})