Expand description
§lintel-validate
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
Reportertrait for pluggable output formatting
Part of the Lintel project.
§License
Apache-2.0
Re-exports§
pub use reporter::Reporter;
Modules§
Structs§
Functions§
- format_
checked_ verbose - Format a verbose line for a checked file, including cache status tags.
- merge_
config - Load
lintel.tomland merge its excludes into the args. - run
- Run validation and report results via the given reporter.