Skip to content

Save the C# files without a byte order mark - #197

Merged
erwan-joly merged 1 commit into
masterfrom
claude/project-thread-0cttv3
Nov 15, 2026
Merged

erwan-joly merged 1 commit into
masterfrom
claude/project-thread-0cttv3

Conversation

@erwan-joly

@erwan-joly erwan-joly commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Strips the UTF-8 BOM from every .cs file and adds an .editorconfig with charset = utf-8 for *.cs, so editors stop adding it back. No other change.


Generated by Claude Code

Summary by CodeRabbit

  • Chores
    • Standardized repository encoding settings and removed inconsistent byte-order marks from source files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014gSmkVWAWMECT5P3AgaEdW
@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The change adds root-level EditorConfig settings for UTF-8 C# files and removes leading UTF-8 byte-order marks from seven C# source files. It does not change code behavior or declarations.

Changes

UTF-8 Source File Settings

Layer / File(s) Summary
EditorConfig and source file encoding
.editorconfig, src/NosCore.ParserInputGenerator.Launcher/Configuration/ParserInputGeneratorConfiguration.cs, src/NosCore.ParserInputGenerator/Downloader/*, src/NosCore.ParserInputGenerator/Extractor/*, src/NosCore.ParserInputGenerator/I18N/LogLanguageKey.cs
.editorconfig marks the repository root and sets UTF-8 charset for C# files. Seven C# files no longer have a leading UTF-8 byte-order mark; their text and code are unchanged.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Merge Risk: Minimal · up to 24dcc

This change only removes byte-order marks from C# files and adds an editor setting. It does not change runtime behavior, and no merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Save the C# files without a byte order mark" matches the main change. The raw summary shows BOM removal from multiple .cs files and an .editorconfig charset rule for *.cs, and the PR object…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Save the C# files without a byte order mark" matches the main change. The raw summary shows BOM removal from multiple .cs files and an .editorconfig charset rule for *.cs, and the PR objectives state the same goal. The title is short, specific, and identifies the primary change.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 59af559 and 24dcc30.

Files ignored due to path filters: 1

  • src/NosCore.ParserInputGenerator/Resource/LocalizedResources.Designer.cs is excluded by !**/*.Designer.cs
Files selected for processing: 8

  • .editorconfig
  • src/NosCore.ParserInputGenerator.Launcher/Configuration/ParserInputGeneratorConfiguration.cs
  • src/NosCore.ParserInputGenerator/Downloader/ClientDownloader.cs
  • src/NosCore.ParserInputGenerator/Downloader/ClientManifest.cs
  • src/NosCore.ParserInputGenerator/Downloader/IClientDownloader.cs
  • src/NosCore.ParserInputGenerator/Extractor/Extractor.cs
  • src/NosCore.ParserInputGenerator/Extractor/IExtractor.cs
  • src/NosCore.ParserInputGenerator/I18N/LogLanguageKey.cs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@erwan-joly
erwan-joly merged commit 7259e7b into master Nov 15, 2026
3 checks passed
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.

2 participants