Skip to content

Commit 1d23364

Browse files
authored
Update .editorconfig to prevent unintentional whitespace changes
Added: - `csharp_space_before_open_square_brackets = true` - `csharp_space_after_keywords_in_control_flow_statements = false` In order to enforce the existing convention and prevent unintentional changes.
1 parent 4dfeafc commit 1d23364

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.editorconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ insert_final_newline = true
1010
[*.{cs}]
1111
indent_size = 4
1212
trim_trailing_whitespace = true
13+
csharp_space_before_open_square_brackets = true
14+
csharp_space_after_keywords_in_control_flow_statements = false
1315

1416
[*.{json}]
1517
indent_size = 2

0 commit comments

Comments
 (0)