chore: update editorconfig to be in sync with other projects

This commit is contained in:
Louis Seubert 2026-05-21 22:05:33 +02:00
commit c7fb3fa867
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
2 changed files with 10 additions and 13 deletions

View file

@ -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

View file

@ -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