glinter/reporter

Types

pub type Format {
  Text
  Json
}

Constructors

  • Text
  • Json
pub type Stats {
  Stats(file_count: Int, line_count: Int, elapsed_ms: Int)
}

Constructors

  • Stats(file_count: Int, line_count: Int, elapsed_ms: Int)

Values

pub fn format_json(
  results: List(rule.LintResult),
  sources: List(#(String, String)),
  show_stats: Bool,
  stats: Stats,
) -> String
pub fn format_text(
  results: List(rule.LintResult),
  sources: List(#(String, String)),
  show_stats: Bool,
  stats: Stats,
) -> String
Search Document