From c7fb3fa8670f3a08f0ca29abb40ded35b716803e Mon Sep 17 00:00:00 2001 From: Louis Seubert Date: Thu, 21 May 2026 22:05:33 +0200 Subject: [PATCH] chore: update editorconfig to be in sync with other projects --- .editorconfig | 14 +------------- src/process.tests/.editorconfig | 9 +++++++++ 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.editorconfig b/.editorconfig index 19e73ae..bdd4559 100644 --- a/.editorconfig +++ b/.editorconfig @@ -19,17 +19,9 @@ indent_size = 2 indent_style = space [*.{cs,vb}] -#### code quality rule overrides #### - -#> Identifiers should not match keywords -dotnet_diagnostic.CA1716.severity = suggestion - #### code style rule default severity #### dotnet_analyzer_diagnostic.category-style.severity = warning -#> Use top-level statements -dotnet_diagnostic.IDE0210.severity = none - #### .NET Coding Conventions #### [*.{cs,vb}] # Organize usings @@ -87,11 +79,6 @@ dotnet_style_readonly_field = true # Suppression preferences dotnet_remove_unnecessary_suppression_exclusions = none -# ReSharper preferences -resharper_wrap_object_and_collection_initializer_style = chop_always -resharper_check_namespace_highlighting = none -resharper_csharp_wrap_lines = false - #### C# Coding Conventions #### [*.cs] @@ -127,6 +114,7 @@ csharp_preferred_modifier_order = public, private, protected, internal, static, # Code-block preferences csharp_prefer_braces = true csharp_prefer_simple_using_statement = true +csharp_style_prefer_top_level_statements = false # Expression-level preferences csharp_prefer_simple_default_expression = true diff --git a/src/process.tests/.editorconfig b/src/process.tests/.editorconfig index 18e8eb3..9de929c 100644 --- a/src/process.tests/.editorconfig +++ b/src/process.tests/.editorconfig @@ -1,6 +1,15 @@ [*.{cs,vb}] +# disable CA1822: Mark members as static +# -> TUnit requiring instance methods for test cases +dotnet_diagnostic.CA1822.severity = none +# disable CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none # disable IDE0060: Remove unused parameter dotnet_diagnostic.IDE0060.severity = none # disable IDE0005: Unnecessary using directive dotnet_diagnostic.IDE0005.severity = none +# disable IDE0390: Method can be made synchronous +dotnet_diagnostic.IDE0390.severity = none +# disable IDE0391: Method can be made synchronous +dotnet_diagnostic.IDE0391.severity = none