chore: add CSharpier and apply one-time format pass#64
Merged
Conversation
Introduce .config/dotnet-tools.json with CSharpier 1.2.6 for code formatting, and .csharpierignore to skip the throwaway worktrees/ directory used by /add-test. The next commit applies the one-time format pass.
Reformat 84 files with CSharpier 1.2.6 defaults (Allman braces, etc.). Pure mechanical change — no behavior changes, all tests pass. SHA will be added to .git-blame-ignore-revs in a follow-up commit so git blame skips this commit.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #64 +/- ##
==========================================
+ Coverage 99.60% 99.66% +0.05%
==========================================
Files 25 25
Lines 757 1177 +420
Branches 128 128
==========================================
+ Hits 754 1173 +419
- Misses 0 1 +1
Partials 3 3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.config/dotnet-tools.json) so contributors can run it withdotnet csharpier check .afterdotnet tool restore..git-blame-ignore-revspointing at the squashed format-pass commit sogit blameskips it. (Can't be done in this PR because the squash SHA doesn't exist until merge.)Code changes
.config/dotnet-tools.json— new dotnet tool manifest with CSharpier 1.2.6 pinned (rollForward: false)..csharpierignore— excludesworktrees/(used by the/add-testskill)..cs,Directory.Build.props, csprojs) reformatted with CSharpier defaults (Allman-style braces). No behavior change; unit tests all pass with-warnaserror.