@@ -11,7 +11,7 @@ root = true
11
11
insert_final_newline = true
12
12
indent_style = space
13
13
indent_size = 4
14
- guidelines = 120
14
+ guidelines = 140
15
15
16
16
17
17
# C# files
@@ -86,7 +86,7 @@ csharp_preserve_single_line_statements = false
86
86
dotnet_separate_import_directive_groups = false
87
87
88
88
# IDE0005: Remove unnessecary using statements
89
- dotnet_diagnostic.IDE0005.severity = warning
89
+ dotnet_diagnostic.IDE0005.severity = error
90
90
91
91
# Expression-level preferences
92
92
dotnet_style_object_initializer = true :suggestion
@@ -169,10 +169,16 @@ dotnet_naming_style.end_in_async.required_suffix = Async
169
169
dotnet_naming_style.end_in_async.capitalization = pascal_case
170
170
dotnet_naming_style.end_in_async.word_separator =
171
171
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
173
180
174
- # guidelines support
175
- guidelines = 120
181
+ # ---- Latest csharp features ----- #
176
182
177
183
# CA1031: Do not catch general exception types
178
184
dotnet_diagnostic.CA1031.severity = none
0 commit comments