Skip to content

chore: adopt the revised canonical .editorconfig (Standards §5.2) - #27

Merged
StuartMeeks merged 1 commit into
mainfrom
chore/adopt-canonical-editorconfig
Aug 21, 2026
Merged

chore: adopt the revised canonical .editorconfig (Standards §5.2)#27
StuartMeeks merged 1 commit into
mainfrom
chore/adopt-canonical-editorconfig

Conversation

@StuartMeeks

Copy link
Copy Markdown
Owner

Part of the standards recheck ahead of 1.0.0. NextIteration.Standards revised the canonical .editorconfig (standards #15); §5.2 requires this repo to carry it verbatim, and the adoption audit notes all five repos fail §5.2 on this file until they take the update.

What changes

  • .editorconfig replaced with the canonical template, byte-for-byte.
  • The new file is a deliberate allow-list of gated style rules — no blanket dotnet_analyzer_diagnostic.severity — so a style rule a future SDK ships can't silently auto-gate the build.
  • Fixes the private-field naming rule that previously demanded _camelCase for PascalCase constants.

Build safety

  • EnforceCodeStyleInBuild stays OFF per §1.2.1 (blocked estate-wide), so the IDE* :warning rules stay advisory at build time — no mass reformatting is forced.
  • The one build-affecting change is CS1591 silentwarning: a missing XML doc on a public member is now a hard error under TreatWarningsAsErrors. The public surface is already fully documented, so Release build is clean (0 warnings).

Not in this PR

  • §4.12 branch-protection additions (analyze required check + code_scanning rule) are a repo-settings change, handled separately.

🤖 Generated with Claude Code

The canonical .editorconfig in NextIteration.Standards was revised (templates
update, standards #15): it moves to a deliberate allow-list of gated style
rules with no blanket dotnet_analyzer_diagnostic.severity, and fixes the
private-field naming rule that previously demanded _camelCase for PascalCase
constants. §5.2 requires this file to be the canonical copy verbatim.

EnforceCodeStyleInBuild stays OFF per §1.2.1 (blocked estate-wide until the
per-rule gate/advisory split is decided), so the IDE* :warning severities are
advisory at build time. The one build-affecting change is CS1591 moving from
silent to warning: a missing XML doc on a public member is now a hard error
under TreatWarningsAsErrors. The public surface is already fully documented, so
Release build is clean (0 warnings).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@StuartMeeks
StuartMeeks force-pushed the chore/adopt-canonical-editorconfig branch from aed8adc to b4e6ded Compare August 21, 2026 05:22
@StuartMeeks
StuartMeeks merged commit b279b82 into main Aug 21, 2026
9 checks passed
@StuartMeeks
StuartMeeks deleted the chore/adopt-canonical-editorconfig branch August 21, 2026 05:25
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