Testing and Validation
Use this checklist before merging significant changes.
Fast local checksโ
npm run lint:fix:quietnpm run typechecknpm run test
Full quality gateโ
npm run lint:all:fix:quietnpm run buildnpm run docs:buildnpm run release:verify
When docs/navigation changeโ
Also validate:
- no broken links in docs build output
- sidebar routes keep expected context
- navbar/footer links match current route structure
- generated static output contains the expected target route when changing homepage, navbar, or footer links
When preset docs changeโ
Run sync scripts that maintain generated preset and rules tables:
npm run build
npm run sync:presets-rules-matrix
npm run sync:readme-rules-table
Use the --write script form only when intentionally updating generated markdown:
node scripts/sync-presets-rules-matrix.mjs --write
node scripts/sync-readme-rules-table.mjs --write
CI parity guidanceโ
If local and CI differ:
- capture failing logs into
temp/ - identify first root-cause error
- fix source/config (not generated build output)