Require braces for all if, while, for, etc statements.
Since we were unable to reach a consensus on whether we should allow single-line blocks without braces, we will err on the side of caution and consistency and enforce all if and loop blocks must use braces.
Pull Request
Replaces #84.
Require braces for all
if
,while
,for
, etc statements.Since we were unable to reach a consensus on whether we should allow single-line blocks without braces, we will err on the side of caution and consistency and enforce all
if
and loop blocks must use braces.Contribution Checklist
Change Checklist