@@ -11,7 +11,7 @@ root = true
1111insert_final_newline = true
1212indent_style = space
1313indent_size = 4
14- guidelines = 120
14+ guidelines = 140
1515
1616
1717# C# files
@@ -86,7 +86,7 @@ csharp_preserve_single_line_statements = false
8686dotnet_separate_import_directive_groups = false
8787
8888# IDE0005: Remove unnessecary using statements
89- dotnet_diagnostic.IDE0005.severity = warning
89+ dotnet_diagnostic.IDE0005.severity = error
9090
9191# Expression-level preferences
9292dotnet_style_object_initializer = true :suggestion
@@ -169,10 +169,16 @@ dotnet_naming_style.end_in_async.required_suffix = Async
169169dotnet_naming_style.end_in_async.capitalization = pascal_case
170170dotnet_naming_style.end_in_async.word_separator =
171171
172- # ---- Latest csharp features ----- #
172+ # IDE0290 Use primary constructor
173+ # https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-12#primary-constructors
174+ # https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/primary-constructors
175+ # will disable this rule for now until I decide if I like it and want to use it.
176+ # dotnet_diagnostic.IDE0290.severity = none | error | suggestion
177+
178+ # IDE0290 Use primary constructor
179+ dotnet_diagnostic.IDE0290.severity = none
173180
174- # guidelines support
175- guidelines = 120
181+ # ---- Latest csharp features ----- #
176182
177183# CA1031: Do not catch general exception types
178184dotnet_diagnostic.CA1031.severity = none
0 commit comments