Skip to content

style: enable IDE0011 (always braces) + mechanical repo reformat#95

Merged
codymullins merged 1 commit into
mainfrom
chore/enable-braces-v2
Jun 18, 2026
Merged

style: enable IDE0011 (always braces) + mechanical repo reformat#95
codymullins merged 1 commit into
mainfrom
chore/enable-braces-v2

Conversation

@codymullins

Copy link
Copy Markdown
Collaborator

Enables IDE0011 / csharp_prefer_braces = true so braces are enforced by the build and the existing dotnet format --verify lint job — no custom script (replaces the rejected grep approach).

Large + purely mechanical: a dotnet format pass over the current tree (~644 files). Idempotent; full solution builds; dotnet format --verify-no-changes is clean. Regenerated fresh on top of current main (after #91 + #94) so there are no conflicts.

Turn on csharp_prefer_braces / IDE0011 = error so braces are enforced by the
build (EnforceCodeStyleInBuild) and the existing 'dotnet format --verify' lint
job — no custom script. The bulk is a mechanical 'dotnet format' pass over the
current tree. Idempotent: a second 'dotnet format --verify-no-changes' is clean;
full solution builds.
Copilot AI review requested due to automatic review settings June 18, 2026 17:05
@codymullins
codymullins merged commit 1e1dd44 into main Jun 18, 2026
4 of 5 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@github-actions github-actions Bot locked and limited conversation to collaborators Jun 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants