Add rule to prefer conditional expression over assignement
MODIFY
.editorconfig
.editorconfig
@@ -103,6 +103,9 @@ csharp_prefer_braces = true:error
#do not suggest readonly fields
dotnet_style_readonly_field = false:error
+#prefer conditional expression over assignement
+dotnet_style_prefer_conditional_expression_over_assignment = true:error
+
# name all constant fields using PascalCase
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = error

Add rule to prefer conditional expression over assignement