Skip to content

chore: readability, require braces for control flow - #8389

Merged
kuhe merged 1 commit into
mainfrom
kuhe/chore/format
Oct 28, 2026
Merged

kuhe merged 1 commit into
mainfrom
kuhe/chore/format

Conversation

@kuhe

@kuhe kuhe commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

This wasn't an issue before as previous authors would naturally use braces. But LLM generated code prefers not to abide by this, so I'm going to enforce it now.

if (true) continue;
if (true) {
  continue;
}

@kuhe
kuhe requested a review from a team as a code owner October 28, 2026 16:02
@kuhe
kuhe merged commit 2a16014 into main Oct 28, 2026
8 checks passed
@kuhe
kuhe deleted the kuhe/chore/format branch October 28, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

⌂ 换网址