File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ indent_style = space
7
7
insert_final_newline = true
8
8
9
9
[* .cs ]
10
+ csharp_prefer_braces = true
10
11
csharp_style_expression_bodied_accessors = true
11
12
csharp_style_expression_bodied_constructors = true
12
13
csharp_style_expression_bodied_indexers = true
@@ -23,6 +24,7 @@ csharp_style_var_when_type_is_apparent = true
23
24
dotnet_diagnostic.IDE0003.severity = error # Remove this or Me qualification
24
25
dotnet_diagnostic.IDE0005.severity = error # Remove unnecessary using directives
25
26
dotnet_diagnostic.IDE0007.severity = error # Use var instead of explicit type
27
+ dotnet_diagnostic.IDE0011.severity = error # Add braces
26
28
dotnet_diagnostic.IDE0021.severity = error # Use expression body for constructors
27
29
dotnet_diagnostic.IDE0022.severity = error # Use expression body for methods
28
30
dotnet_diagnostic.IDE0023.severity = error # Use expression body for conversion operators
You can’t perform that action at this time.
0 commit comments