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
StyleCop does not appear to support our preferred rules, and a quick search did not turn up any analyzers that do.
Our main rule is
Omit optional braces around single line blocks.
However, it has some exceptions and nuances:
if
using
The text was updated successfully, but these errors were encountered:
Update: Roslynator has some relevant rules.
https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1001.md https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1003.md
Sorry, something went wrong.
No branches or pull requests
StyleCop does not appear to support our preferred rules, and a quick search did not turn up any analyzers that do.
Our main rule is
Omit optional braces around single line blocks.
However, it has some exceptions and nuances:
if
condition,using
declaration, etc.) is split onto multiple lines, include braces.The text was updated successfully, but these errors were encountered: