Use curly bodies for statements except one-line ifs #22001
Labels
closed-invalid
Closed as we don't believe the reported issue is generally actionable
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
type-enhancement
A request for a change that isn't a bug
Moved over here from: dart-lang/dart_style#118
Should warn or fix if a for, while, or else clause does not have a curly brace body. It should also flag the then clause of an if if it doesn't fit on a single line.
The text was updated successfully, but these errors were encountered: