Expand description
Issue reporting and formatting for Mago.
This crate provides functionality for reporting code issues identified by the linter and analyzer. It includes support for multiple output formats, baseline filtering, and rich terminal output.
§Core Types
Issue: Represents a single code issue with severity level, annotations, and optional fixesIssueCollection: A collection of issues with filtering and sorting capabilitiesreporter::Reporter: Handles formatting and outputting issues in various formatsbaseline::Baseline: Manages baseline files to filter out known issues
Re-exports§
pub use color::ColorChoice;pub use output::ReportingTarget;
Modules§
- baseline
- Baseline functionality for filtering known issues.
- color
- error
- Error types for the reporting crate.
- output
- reporter
- Issue reporter and output formatting.
Structs§
- Annotation
- An annotation associated with an issue, providing additional context or highlighting specific code spans.
- Issue
- Represents an issue identified in the code.
- Issue
Collection - A collection of issues.
Enums§
- Annotation
Kind - Represents the kind of annotation associated with an issue.
- Level
- Represents the severity level of an issue.
- Reporting
Format - The format to use for reporting.