You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
Use opposite operator instead of the logic complement operator.
Why is this an issue?
Use opposite operator instead of negating the whole expression with a logic complement operator. It makes code easier to read and understand.
Ex:
Source
Related code pattern
Enforces opposite operator instead of negating
Enforces the usage of the opposite operator instead of negating the whole expression with a logic complement operator.
The text was updated successfully, but these errors were encountered: