We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I configure my .editorconfig to require K&R-style braces and produce a warning if they're wrong:
.editorconfig
# IDE0055: Fix formatting dotnet_diagnostic.IDE0055.severity = warning # K&R-style braces csharp_new_line_before_open_brace = none
However, Allman-style braces are still enforced with a warning for a switch expression such as:
int input = 123; bool result = input switch { 246 => true, _ => false };
The text was updated successfully, but these errors were encountered:
Duplicate of #36913
Sorry, something went wrong.
No branches or pull requests
I configure my
.editorconfig
to require K&R-style braces and produce a warning if they're wrong:However, Allman-style braces are still enforced with a warning for a switch expression such as:
The text was updated successfully, but these errors were encountered: