Link Checker
Guides
Inspections
What inspections are run and how to configure them.
Inspections
The following inspections are run by default:
Inspection | Description |
---|---|
missing-hash | Checks for missing hashes in internal links. |
no-error-response | Checks for error responses (4xx, 5xx) on internal links. |
no-baseless | Checks for baseless links. |
no-javascript | Checks for javascript links. |
trailing-slash | Checks for trailing slashes on internal links. |
absolute-site-urls | Checks for absolute site URLs. |
redirects | Checks 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'
],
},
})