CLI

ranklint audit

Crawl a deployed site or a local build and fail CI on error issues.
FlagDescription
--urladdress of a live site
--startpath to .output/server/index.mjs — starts Nitro itself and stops it after; the server origin overrides site.url, so zones match localhost
--profileprofile from ranklint.config
--reportermarkdown (default) | json | junit | gitlab | html | github | sarif — markdown groups issues by rule: errors first, biggest groups first; html is a single page with the report data embedded, grouped by page by default with a switch to grouping by rule; brand fonts load from Google Fonts (offline it falls back to system fonts)
--outputreport to a file instead of stdout
--json-outputadditionally the raw json (input for diff)
--html-outputadditionally an html report: a single page with the data embedded, grouped by page by default with a switch to grouping by rule; brand fonts load from Google Fonts, system fonts offline (e.g. for Pages)
--cwdwhere to look for ranklint.config
--mode monitormonitoring mode (below)

Exit code 1 on error issues. Without a ranklint.config it runs with a minimal config from the URL origin. Flow: config → custom checks → seeds (crawl.entry paths or the audited URL; with strategy: 'sitemap+sample' — a sitemap sample: group by route pattern, up to 5 random URLs per group) → BFS crawl → checks → crawl-budget analysis (parametric URL groups: how many, how many with canonical/noindex — shows where crawl budget leaks) → Lighthouse → report.