mirror of
https://github.com/marcominerva/SqlDatabaseVectorSearch.git
synced 2026-06-20 12:23:10 +00:00
Update .editorconfig with new style and diagnostic rules
Added `csharp_style_prefer_simple_property_accessors` to promote simple property accessors with suggestion severity. Disabled CA1873 warnings for potentially expensive logging. Retained IDE0305 rule for simplifying collection initialization for clarity. These changes enhance code style consistency and suppress irrelevant diagnostics.
This commit is contained in:
+5
-1
@@ -82,6 +82,7 @@ csharp_style_prefer_local_over_anonymous_function = true:silent
|
||||
csharp_style_prefer_extended_property_pattern = true:suggestion
|
||||
csharp_style_implicit_object_creation_when_type_is_apparent = true:silent
|
||||
csharp_style_prefer_tuple_swap = true:silent
|
||||
csharp_style_prefer_simple_property_accessors = true:suggestion
|
||||
|
||||
# Field preferences
|
||||
dotnet_style_readonly_field = true:suggestion
|
||||
@@ -299,4 +300,7 @@ dotnet_diagnostic.IDE0010.severity = none
|
||||
dotnet_diagnostic.IDE0072.severity = none
|
||||
|
||||
# IDE0305: Simplify collection initialization
|
||||
dotnet_diagnostic.IDE0305.severity = none
|
||||
dotnet_diagnostic.IDE0305.severity = none
|
||||
|
||||
# CA1873: Avoid potentially expensive logging
|
||||
dotnet_diagnostic.CA1873.severity = none
|
||||
Reference in New Issue
Block a user