no-negated-condition Prefer positive conditions when both branches are present A negated condition assigns the positive case to the second of two explicit branches. Instead, you SHOULD remove the negation and exchange the branches. - Category: style - Level: warning - Fix: automatic - Scope: module Reported function status(isReady: boolean): string { return !isReady ? "waiting" : "ready"; } Accepted function status(isReady: boolean): string { return isReady ? "ready" : "waiting"; } Prior art - ESLint ยท no-negated-condition language/linter/src/rules/style/nonegatedcondition.rs:8