From 48377068113ed6f9decebf662f48241d3d9cbc57 Mon Sep 17 00:00:00 2001 From: rameel Date: Tue, 17 Nov 2026 00:30:58 +0500 Subject: [PATCH 1/2] repo: normalize formatting rules --- .editorconfig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index 39f9cd5..5762110 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,10 +4,13 @@ root = true charset = utf-8 indent_size = 4 indent_style = space -insert_final_newline = true trim_trailing_whitespace = true +insert_final_newline = true + +[*.{yml,yaml}] +indent_size = 2 -[*.{yml,props,targets,csproj}] +[*.{slnx,csproj,proj,props,targets}] indent_size = 2 [*.cs] From 4ce4fc85e69a77b1f1a6aa10c69518bd16548844 Mon Sep 17 00:00:00 2001 From: rameel Date: Tue, 17 Nov 2026 00:32:38 +0500 Subject: [PATCH 2/2] build: remove unnecessary benchmark suppressions --- .editorconfig | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.editorconfig b/.editorconfig index 5762110..4a15f82 100644 --- a/.editorconfig +++ b/.editorconfig @@ -47,18 +47,6 @@ dotnet_diagnostic.CA1311.severity = none dotnet_diagnostic.CA1866.severity = none [benchmarks/**.cs] -# CA1707: Identifiers should not contain underscores -# Underscores keep the generated BenchmarkDotNet report readable. -dotnet_diagnostic.CA1707.severity = none - -# CA1822: Mark members as static -# BenchmarkDotNet discovers instance methods and properties. -dotnet_diagnostic.CA1822.severity = none - -# CA2201: Do not raise reserved exception types -# Benchmark setup throws Exception to abort a run on an unexpected parser result. -dotnet_diagnostic.CA2201.severity = none - # CA1806: Do not ignore method results # Benchmarks intentionally ignore TryParse results. dotnet_diagnostic.CA1806.severity = none