Skip to content

Warn against nested if instead of cond #105

@jackfirth

Description

@jackfirth

This:

(if e1
    a
    (if e2
        b
        c))

Should warn with a suggested fix of:

(cond [e1 a]
      [e2 b]
      [else c])

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions