avoid_empty_else

Group: errors

Maturity: stable

Linter v0.1.8

Since info is static, may be stale
corerecommendedflutter

View all Lint Rules

Using the Linter

AVOID empty else statements.

BAD:

if (x > y)
  print("1");
else ;
  print("2");