def verdict
bend-lint-rules@0.2.0.0 · layout/canon_import_path.bend:76
import bend-lint-rules@0.2.0.0/layout/canon_import_path.bend as CanonImportPath
import Base
import bend-lint-api@0.2.0.0/linter/lint.bend as Lint
76def verdict(fine: Bool, +want: String, +span: Lint.Span) -> List<&2, Lint.Finding>:
77 match fine:
78 case True{}:
79 []
80 case False{}:
81 [
82 Lint.Finding{
83 Lint.Warning{},
84 span,
85 "Write \"" ++ want ++ "\": the shortest path from this file, starting with ./ or ../.",
86 [Lint.Fix{"Use the shortest path", [Lint.Replace{span, want}]}]
87 }
88 ]