lintel-0.0.12 is not a library.
lintel
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:
- YAML modeline —
# yaml-language-server: $schema=... - Inline
$schemaproperty — in the document itself lintel.tomlmappings — custom[schemas]table entries- Lintel catalog — schemas for tools not in
SchemaStore SchemaStorecatalog — matching by filename
License
Apache-2.0