Skip to main content
VelinStyle v0.9.0
⌂ Home
  1. Docs
  2. Guides
  3. Performance audit

Performance audit 0.9.0

Audit static HTML for CLS, lazy-loading, and render-blocking scripts — with safe auto-fixes.

Commands

velinstyle perf audit samples/
velinstyle perf suggest .
velinstyle perf fix . --write
velinstyle perf audit . --json

Rules

RuleSeverityAutofix
img-missing-dimensionswarningwidth/height defaults
img-no-lazyinfoloading="lazy"
script-no-deferwarningdefer on external scripts
large-inline-styleinfo
font-display-swapinfohint in report
unused-velin-importinfosuggests runtime subpath

CI

Run npm run test:perf in the framework repo, or npx velinstyle perf audit samples/ --json in CI. Exit code 1 when any error-severity issue is found.