Config

qa-audit.yml

Project file attributes and sample YAML for CI.

Place qa-audit.yml (or qa-audit.yaml / qa-audit.json) in your repo root. `qa-audit run` loads it; `qa-audit init` writes a starter file.

qa-audit.yml
# qa-audit.yml — @qa-audit/qa-audit-cli
url: https://example.com
tier: essential
pages: 10

modules:
  - seo
  - links
  - accessibility
  - security

# Optional named wrappers (merged with modules)
# scans:
#   - a11y
#   - map

json: true
out: qa-audit-report.json

# apiUrl: https://qa-audit.com

# Local repo scan (used by bundle --path and repo-scan)
testDirs:
  - src
  - tests
fileCap: 800
exclude:
  - dist
  - .next

When you run `qa-audit bundle --path ./your-app`, the CLI loads qa-audit.yml from that repo root (if present) for testDirs, fileCap, exclude, and testRunner — CLI flags still win.

AttributeRequiredMeaning
urlfor `run`Site to audit
tiernolaunch | essential | team | engineering | security-pro
pagesnoCrawl budget; clamped by API to your plan limit
modulesnoList of module ids (see scan types)
scansnoNamed wrappers; modules are unioned
jsonnotrue → machine-readable report
outnoFilesystem path for the report
apiUrlnoOverride API host for this project
testDirsnoPreferred test roots for `bundle --path` / `repo-scan`
includeColocatednoInventory `*.test` / `*.spec` next to source (default true)
testRunnernojest | vitest | playwright | cypress | auto
fileCapnoMax files to visit during local repo scan (default 800)
excludenoExtra directory names to skip while scanning
run
qa-audit init
qa-audit run
qa-audit run --config ./qa-audit.yml --json