sndev.io / docs

lint

Static + instance-aware manifest validation.

The lint command runs preflight checks — schema validation, $ref chain integrity, and duplicate step ID detection — without executing anything against your instance. Use it before sn execute to catch errors early.
sn lint <manifest.ts>

Static + instance-aware manifest validation.

Arguments

NameRequiredDescription
manifest.tsYesPath to the manifest TypeScript file.

Examples

sn lint examples/test-business-rule/manifest.ts
Preflight: 3 steps validated
✓ Schema check passed
✓ $ref chain valid
✓ No duplicate IDs
All checks passed.