Skip to content

Add builtin rule no_dead_branches #43

@KurtWagner

Description

@KurtWagner

e.g.,

if (always_false) {
 // ...
}

Perhaps better named no_unnecessary_branches and it also catches

if (always_true) {
// ..
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions