Expand description
§lintel-reporters
Reporter implementations for Lintel. Provides pluggable output formatting for validation results.
§Reporters
- Pretty — rich terminal output with miette diagnostics and source code snippets (default for
lintel check) - Text — one-line-per-error plain text output (default for
lintel ci) - GitHub —
::errorworkflow commands withfile,line,colfor inline PR annotations
§Usage
use lintel_reporters::{ReporterKind, make_reporter};
let reporter = make_reporter(ReporterKind::Pretty, false);
// Pass `reporter.as_mut()` to the validation engine§License
Apache-2.0
Re-exports§
pub use reporters::github::GithubReporter;pub use reporters::pretty::PrettyReporter;pub use reporters::text::TextReporter;
Modules§
Enums§
Functions§
- make_
reporter - Create a reporter from the kind and verbose flag.