Control Flow Braces

Brace style for the Charty codebase — use when writing or editing any Kotlin in charty/ or composeApp/, and before committing. Every `if`/`else if`/`else`/`for`/`while` body must be wrapped in braces `{ }`, even a single statement, a one-liner, or an `if`/`else` used as a value expression. Braceless forms like `if (w > m) m = w` or `val x = if (a) 1 else 2` are not allowed.

hi-manshu Updated
Banner

File contents

hi-manshu/charty commit efca4f7e6b

Frequently asked questions

npx get-skill add hi-manshu/control-flow-braces