Skip to content

Commit 512f42c

Browse files
committed
Adjust editor config to reflect cast conventions in C# libraries
Most of our code includes a space after the cast, e.g. `(int) x` instead of `(int)x`. This .editorconfig change means that will be the default formatting when it's performed by the editor.
1 parent 9f58ee3 commit 512f42c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

csharp/.editorconfig

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@ tab_width = 4
1414
# New line preferences
1515
end_of_line = lf
1616
insert_final_newline = false
17-
trim_trailing_whitespace = true
17+
trim_trailing_whitespace = true
18+
19+
[*.cs]
20+
csharp_space_after_cast = true

0 commit comments

Comments
 (0)