Skip to main content

Crate lintel_validate

Crate lintel_validate 

Source
Expand description

§lintel-validate

Crates.io docs.rs GitHub License

Core validation engine for Lintel — validates JSON, YAML, TOML, JSON5, and JSONC files against JSON Schema.

§Features

  • File discovery via glob patterns and .gitignore-aware walking
  • Multi-format parsing (JSON, YAML, TOML, JSON5, JSONC, Markdown frontmatter)
  • Schema resolution from inline annotations, config mappings, and catalog matching
  • Schema fetching with disk-based caching
  • Validation with rich diagnostics (source spans, labels)
  • Validation result caching for incremental re-checks
  • Reporter trait for pluggable output formatting

Part of the Lintel project.

§License

Apache-2.0

Re-exports§

pub use reporter::Reporter;

Modules§

catalog
diagnostics
discover
parsers
registry
reporter
validate

Structs§

ValidateArgs

Functions§

format_checked_verbose
Format a verbose line for a checked file, including cache status tags.
merge_config
Load lintel.toml and merge its excludes into the args.
run
Run validation and report results via the given reporter.