Directives.Wrong.found: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/lib/linter/directives.bend as Directives Lines 926-945 of bend-lint-rules@0.2.0.0/lib/linter/directives.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/lib/linter/directives.bend&start_line=926&end_line=945 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint def Wrong.found( saids: List<&2, Said>, +path: String, out: List<&2, Lint.Found> ) -> List<&2, Lint.Found>: match saids: case Nil{}: List.reverse(&2, Lint.Found, out) case Con{Wrong{Comment{b, e, l, t, body}, why}, rest}: Wrong.found( rest, path, Lint.Found{ "bend-lint/directive", Lint.Finding{Lint.Error{}, Lint.Span{path, b, e}, why, []} } <> out ) case Con{s, rest}: Wrong.found(rest, path, out) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.reverse https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Finding https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Found https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Severity https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Span https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/lib/linter/directives.bend&name=Comment https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/lib/linter/directives.bend&name=Said