Eventvisor

Workflow

Linting

Eventvisor CLI ships with a command for linting your definitions to catch any syntax errors and other structural issues early.

Usage

Command
$ npx eventvisor lint

Lint checks each entity against its strict schema and then validates project-wide relationships. It catches unknown fields, invalid condition operands, empty condition groups and matrices, malformed transforms, unknown tags and destinations, non-object event schemas, missing reusable Schemas, circular Schema references, invalid Target patterns, missing effect triggers, and invalid quarantine destinations.

Projects with Sets lint every Set by default. Select one with --set:

npx eventvisor lint --set staging

Run lint in CI before building datafiles. Promotion also lints a destination Set after writing and rolls its changes back if validation fails.

Previous
Configuration