Skip to main content

Module validate

Module validate 

Source

Re-exports§

pub use crate::diagnostics::LintError;

Structs§

CheckedFile
A file that was checked and the schema it resolved to.
ValidateArgs
ValidateResult
Result of a validation run.

Functions§

collect_files
Collect input files from globs/directories, applying exclude filters.
fetch_compiled_catalogs
Fetch and compile all schema catalogs (default, SchemaStore, and custom registries).
load_config
Locate lintel.toml, load the full config, and return the config directory. Returns (config, config_dir, config_path). When no config is found or cwd is unavailable the config is default and config_path is None.
run
Errors
run_with
Like run, but calls on_check each time a file is checked, allowing callers to stream progress (e.g. verbose output) as files are processed.
try_parse_all
Try parsing content with each known format, returning the first success.