checkNegatedBoolean
Checks if there are no variables that have negated boolean names such as notValid, is_not_ok. Using such variables in conditional expressions can be confusing and difficult to read and therefore, this check may be enabled. This check reports variables with names that:
- Start with
notorNotfollowed by anything that is not a lowercase character. - Start with
not_orNOT_. - Contain
_not_or_NOT_.
Exemption tag: %@ok<NEGBO>