diff --git a/.editorconfig b/.editorconfig index 70c0dfaa..16904308 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,6 +12,7 @@ indent_size = 4 dotnet_sort_system_directives_first = true csharp_new_line_before_open_brace = all csharp_style_namespace_declarations = file_scoped:error +dotnet_diagnostic.IDE0161.severity = error csharp_style_var_for_built_in_types = true:suggestion csharp_style_var_when_type_is_apparent = true:suggestion csharp_style_var_elsewhere = false:suggestion diff --git a/Directory.Build.props b/Directory.Build.props index d827b48a..b2d08368 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -6,6 +6,8 @@ enable enable true + true + true true en-US false