Output Formats
Use the --format flag to control how diagnostics are rendered.
default
Human-readable terminal output with colored code snippets and diagnostic highlighting.
With --type-check, type errors are also included (see Type Checking for details):
jsonline
One diagnostic per line as compact JSON. Suitable for programmatic consumption.
github
GitHub Actions workflow command format. Creates annotations directly on pull request diffs.