Skip to main content

Crate lintel_reporters

Crate lintel_reporters 

Source
Expand description

§lintel-reporters

Crates.io docs.rs GitHub License

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::error workflow commands with file, line, col for 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§

reporters

Enums§

ReporterKind

Functions§

make_reporter
Create a reporter from the kind and verbose flag.