Skip to content

Commit

Permalink
Update .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed committed Oct 4, 2023
1 parent 97af806 commit 4cc9d94
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ root = true
charset = utf-8
indent_style = space
indent_size = 4
tab_width = 4
insert_final_newline = true
trim_trailing_whitespace = true

Expand Down Expand Up @@ -211,6 +212,10 @@ csharp_style_var_for_built_in_types = true
csharp_style_var_when_type_is_apparent = true
csharp_style_var_elsewhere = true

# Undocumented
# https://github.com/dotnet/docs/issues/28791
csharp_style_prefer_primary_constructors = true # NEW

##########################################
# .NET Coding Conventions - .NET
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/dotnet-formatting-options
Expand Down

0 comments on commit 4cc9d94

Please sign in to comment.