Custom lintsprefer_early_returnOn this pageprefer_early_returnA rule which highlights if statements that span the entire body, and suggests replacing them with a reversed boolean check with an early return. Example BAD: void func() { if (a) { //LINT if (b) { //LINT c; } }} GOOD: void func() { if (!a) return; if (!b) return; c;}