Skip to content

apply redundant-nested-call linter only when calls are positionally nested #2431

@borkdude

Description

@borkdude
  • When people write (-> {} (merge a) (merge b)) this is probably intentional since it's kind of obvious you're doing two merges which could be one, but for step-by-step reasoning this code is organized differently. The linter could be made to warn only if the nested call really only happens positionally nested, not logically nested

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions