Skip to content

Commit 4cc9d94

Browse files
committed
Update .editorconfig
1 parent 97af806 commit 4cc9d94

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ root = true
1616
charset = utf-8
1717
indent_style = space
1818
indent_size = 4
19+
tab_width = 4
1920
insert_final_newline = true
2021
trim_trailing_whitespace = true
2122

@@ -211,6 +212,10 @@ csharp_style_var_for_built_in_types = true
211212
csharp_style_var_when_type_is_apparent = true
212213
csharp_style_var_elsewhere = true
213214

215+
# Undocumented
216+
# https://github.com/dotnet/docs/issues/28791
217+
csharp_style_prefer_primary_constructors = true # NEW
218+
214219
##########################################
215220
# .NET Coding Conventions - .NET
216221
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/dotnet-formatting-options

0 commit comments

Comments
 (0)