Skip to content

chore(benchmarks): curate benchmarks/.editorconfig, drop csproj NoWarn (#152)#212

Merged
Chris-Wolfgang merged 1 commit into
vNextfrom
chore/152-benchmarks-twae
Jun 27, 2026
Merged

chore(benchmarks): curate benchmarks/.editorconfig, drop csproj NoWarn (#152)#212
Chris-Wolfgang merged 1 commit into
vNextfrom
chore/152-benchmarks-twae

Conversation

@Chris-Wolfgang

Copy link
Copy Markdown
Owner

Summary

Move benchmark-specific analyzer exemptions out of the csproj's <NoWarn> block into a curated benchmarks/.editorconfig, mirroring the tests/.editorconfig pattern: every suppression carries a per-rule reason, so a new analyzer hit becomes a deliberate carve-out rather than a blanket exemption — and TreatWarningsAsErrors stays in force for benchmarks in Release.

The root .editorconfig already covers benchmarks for the same rules; keeping a dedicated benchmarks/.editorconfig makes the source of truth local to the project (parallels tests/), and the csproj NoWarn block becomes redundant.

Verification

  • dotnet build -c Release benchmarks/... — 0 warnings, 0 errors.

Stacking

Based on #211 — merge that first.

Closes #152.

Base automatically changed from fix/146-publicapi-per-tfm to vNext June 27, 2026 19:54
#152)

Move the benchmark-specific analyzer exemptions out of the csproj's
<NoWarn> block into a curated benchmarks/.editorconfig, matching the
tests/.editorconfig pattern: every suppression carries a per-rule reason,
so a new analyzer hit is a deliberate carve-out (not a blanket exemption)
and TreatWarningsAsErrors remains in force for benchmarks in Release.

The root .editorconfig already covers benchmarks for the same rules;
keeping a dedicated benchmarks/.editorconfig makes the source of truth
local to the project (parallels tests/) and the csproj NoWarn is now
redundant. Benchmarks still build clean in Release.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@Chris-Wolfgang Chris-Wolfgang force-pushed the chore/152-benchmarks-twae branch from 3a33abf to 1d2f218 Compare June 27, 2026 20:18
@Chris-Wolfgang Chris-Wolfgang merged commit 7ce6d4c into vNext Jun 27, 2026
@Chris-Wolfgang Chris-Wolfgang deleted the chore/152-benchmarks-twae branch June 27, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant