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.
no-useless-predicatedoes 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
undefinedalthough not included in the type. Therefore the rule is currently completely disabled in this repo. I'd like to have the remaining checks though.