lintel 0.0.10

Validate JSON and YAML files against JSON Schema
lintel-0.0.10 is not a library.

lintel

Crates.io docs.rs CI License

Fast, multi-format JSON Schema linter CLI. Validates JSON, YAML, TOML, JSON5, and JSONC files against JSON Schema in a single command.

Part of the Lintel project.

Installation

cargo install lintel

Or with npm:

npx lintel check

Or with Nix:

nix run github:lintel-rs/lintel

Usage

# validate with rich terminal output
lintel check

# validate with CI-friendly one-error-per-line output
lintel ci

# generate a lintel.toml with auto-detected schemas
lintel init

# convert between formats
lintel convert config.yaml --to toml

Schema Discovery

Lintel auto-discovers schemas in priority order:

  1. YAML modeline# yaml-language-server: $schema=...
  2. Inline $schema property — in the document itself
  3. lintel.toml mappings — custom [schemas] table entries
  4. Lintel catalog — schemas for tools not in SchemaStore
  5. SchemaStore catalog — matching by filename

License

Apache-2.0