lineguard 0.1.7

A fast and reliable file linter that ensures proper line endings and clean formatting
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod github;
pub mod human;
pub mod json;
pub mod traits;

use crate::CheckResult;

// Re-export traits
pub use traits::{Color, ColoredOutput, Output, ReporterWithOutput, StdOutput};

// Re-export reporters
pub use github::GitHubReporter;
pub use human::HumanReporter;
pub use json::JsonReporter;

pub trait Reporter {
    fn report(&self, results: &[CheckResult]);
}