Code Syntax Style: Braces for Single Nested Statements
C# specification allows you to safely omit braces around single nested statements under some parent statements, for example if-else, foreach, and so on. However, code style guidelines may differ in this regard. Some consider the braces here as a requirement, some consider them redundant. Whatever style you prefer, the important thing is to have consistent use of braces throughout your codebase. With ReSharper, you can define your preference for using braces after each type of code block and enforce this style.
ReSharper also provides multiple formatting rules for braces layout (whitespaces, tabs, and new lines).
ReSharper helps you apply braces style in the existing code and takes your preferences into account when it produces new code with code completion and performs refactorings.
Apply style preferences for braces
By default, ReSharper does nothing with braces for single nested statements because all related code inspections are disabled. So, if you want ReSharper to control style preferences for single nested statements and notify you about violations of your preferences, you need to configure your preferences first.
ReSharper highlights code that do not comply with your preferences and suggests the corresponding quick-fix. For example, you can opt to use braces for using:

Configure preferences for braces under single statements
You can configure syntax style settings via EditorConfig. These settings can be stored in .editorconfig files on different levels of your solution hierarchy. The files are normally put under VCS so that settings defined there are shared among the project team.
If you have used ReSharper for Visual Studio or JetBrains Rider on your computer, or have opened the current solution using these tools, ReSharper for Visual Studio Code will read and apply your syntax style settings from .DotSettings files. However, any settings configured via .editorconfig will take precedence.
Configure preferences for braces style using EditorConfig
Open the desired .editorconfig file.
Add the required braces style properties to the file. For example:
braces_for_ifelse = required_for_multiline