There is a fix that propagates the outer negation to both branches.
Example:
!(i == 1 ? a : b)
After the quick-fix is applied:
i == 1 ? !a : !b