Skip to main content

annotate_codeclimate_issues

Function annotate_codeclimate_issues 

Source
pub fn annotate_codeclimate_issues(
    issues: &mut [CodeClimateIssue],
    field: CodeClimateAnnotationField,
    value_for_path: impl FnMut(&str) -> String,
)
Expand description

Add a top-level grouped property to each typed CodeClimate issue.

Grouped CLI outputs use this to attach owner or group while keeping the issue array shape and path lookup contract in fallow-output.