Skip to content

Commit d8a2dbc

Browse files
committed
Update editorconfig to v21
1 parent bf46223 commit d8a2dbc

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.editorconfig

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
root = true
22

33
# Steamcore .NET library editorconfig
4-
# dotnet_library_editorconfig_version = 20
4+
# dotnet_library_editorconfig_version = 21
55

66
[*]
77
charset = utf-8
@@ -124,6 +124,9 @@ dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
124124

125125
roslynator_accessibility_modifiers = explicit
126126

127+
# Avoid negative boolean comparison (e.g. 'if (foo?.bar != false)' instead of 'if (foo is not null && foo.bar)')
128+
roslynator_null_conditional_operator.avoid_negative_boolean_comparison = true
129+
127130
# Prefer explicit/implicit object creation
128131
roslynator_object_creation_type_style = implicit_when_type_is_obvious
129132

@@ -310,6 +313,9 @@ dotnet_diagnostic.IDE0130.severity = none
310313
# CA1034: Do not nest types (disabled for now because it doesn't support extension members)
311314
dotnet_diagnostic.CA1034.severity = none
312315

316+
# CA1708: Identifiers should differ by more than case
317+
dotnet_diagnostic.CA1708.severity = none
318+
313319
# IDE0130: Namespace does not match folder structure
314320
dotnet_diagnostic.IDE0130.severity = none
315321

0 commit comments

Comments
 (0)