Case.wanted: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/layout/case.bend as Case Lines 184-202 of bend-lint-rules@0.2.0.0/layout/case.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/layout/case.bend&start_line=184&end_line=202 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint import bend-lint-api@0.2.0.0/shared/lists.bend as Lists # The case a declaration's name takes, if the file chooses it. def wanted(+node: Lint.Node, namespace: String) -> Maybe<&2, Case>: match node: case Lint.Node{Lint.Import{t}, name, s, k, f}: Lists.when(Case, Bool.not(String.eq(name, "Base")), Pascal{}) case Lint.Node{Lint.Datatype{t}, name, s, k, f}: Some{Pascal{}} case Lint.Node{Lint.Constructor{t}, name, s, k, f}: Some{Pascal{}} case Lint.Node{Lint.Law{t}, name, s, k, f}: Some{Snake{}} case Lint.Node{Lint.Definition{t, u}, name, s, kids, f}: Lists.when(Case, String.eq(Lint.Name.namespace(t), namespace), returns(kids)) case Lint.Node{Lint.Parameter{b, q}, name, s, kids, f}: Some{typed(kids)} case Lint.Node{Lint.Field{b, q}, name, s, kids, f}: Some{typed(kids)} case _: Some{Either{}} Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Name.namespace https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Node https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Syntax https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/shared/lists.bend&name=when https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/layout/case.bend&name=Case https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/layout/case.bend&name=returns https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/layout/case.bend&name=typed