From 5807eeb81db314726034ca355320dec8e4dcf734 Mon Sep 17 00:00:00 2001 From: sammiller Date: Mon, 21 Sep 2026 01:14:04 -0700 Subject: [PATCH] build: enforce build-time analyzer and namespace diagnostics --- .editorconfig | 1 + Directory.Build.props | 2 ++ 2 files changed, 3 insertions(+) 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