Skip to content

Add .editorconfig; strip BOM from C# sources to match it - #29

Merged
amrali-eg merged 1 commit into
masterfrom
chore/editorconfig-and-cs-bom-strip
Sep 17, 2026
Merged

amrali-eg merged 1 commit into
masterfrom
chore/editorconfig-and-cs-bom-strip

Conversation

@amrali-eg

Copy link
Copy Markdown
Owner

Summary

  • LEN had no .editorconfig; EncodingChecker's declares C# as utf-8 (no BOM), crlf. Copied it verbatim (byte-identical).
  • All 14 of LEN's tracked .cs files carried a BOM — not mixed drift, LEN's actual standing convention, just undocumented. EC's 134 .cs files are 100% BOM-less by contrast.
  • Adopting EC's declared rule required re-saving every .cs file BOM-less to match it.

Test plan

  • Each file's diff verified as exactly 1 line (the BOM), byte-level check confirmed exactly -3 bytes per file, nothing else changed
  • Full suite: 316/316, unaffected

🤖 Generated with Claude Code

LEN had no .editorconfig; EC's declares C# as utf-8 (no BOM), crlf.
All 14 of LEN's tracked .cs files carried a BOM -- not mixed drift,
LEN's actual standing convention, just undocumented. EC's 134 .cs
files are 100% BOM-less by contrast. Adopting EC's declared rule
required re-saving every .cs file BOM-less to match it.

Each file lost exactly 3 bytes (the BOM) and nothing else; verified
via byte-level diff before and after. Full suite 316/316 unaffected.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@amrali-eg
amrali-eg merged commit a2776e0 into master Sep 17, 2026
1 check passed
@amrali-eg
amrali-eg deleted the chore/editorconfig-and-cs-bom-strip branch September 17, 2026 19:26
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