Skip to content

no-useless-predicate: split into separate rules or make it configurable #747

@ajafff

Description

@ajafff

no-useless-predicate does too much in one rule.
Either split it into multiple rules or make each check configurable.

For example: when working with TypeScript's AST you sometimes need to check for undefined although not included in the type. Therefore the rule is currently completely disabled in this repo. I'd like to have the remaining checks though.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions