diff --git a/.editorconfig b/.editorconfig index 9faef3d..b43c230 100644 --- a/.editorconfig +++ b/.editorconfig @@ -59,7 +59,7 @@ dotnet_style_prefer_auto_properties = true:suggestion dotnet_style_prefer_collection_expression = when_types_loosely_match:suggestion dotnet_style_prefer_compound_assignment = true:suggestion dotnet_style_prefer_conditional_expression_over_assignment = true:suggestion -dotnet_style_prefer_conditional_expression_over_return = true:suggestion +dotnet_style_prefer_conditional_expression_over_return = false:silent dotnet_style_prefer_foreach_explicit_cast_in_source = when_strongly_typed:suggestion dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion dotnet_style_prefer_inferred_tuple_names = true:suggestion @@ -81,7 +81,9 @@ dotnet_remove_unnecessary_suppression_exclusions = none # analyzer settings dotnet_diagnostic.IDE0058.severity = none +dotnet_diagnostic.IDE0100.severity = none dotnet_diagnostic.CA1515.severity = none +dotnet_diagnostic.CA1848.severity = none # var preferences csharp_style_var_elsewhere = true:suggestion diff --git a/src/FiscalOS.API/.editorconfig b/src/FiscalOS.API/.editorconfig new file mode 100644 index 0000000..750ec94 --- /dev/null +++ b/src/FiscalOS.API/.editorconfig @@ -0,0 +1,4 @@ +[*.cs] + +dotnet_diagnostic.CA1062.severity = none +dotnet_diagnostic.CA2007.severity = none diff --git a/tests/FiscalOS.API.Tests/.editorconfig b/tests/FiscalOS.API.Tests/.editorconfig index ccb26d4..e7d28ba 100644 --- a/tests/FiscalOS.API.Tests/.editorconfig +++ b/tests/FiscalOS.API.Tests/.editorconfig @@ -1,3 +1,4 @@ [*.cs] dotnet_diagnostic.CA1707.severity = none +dotnet_diagnostic.CA1062.severity = none