Skip to content

Add the global editorconfig CRLF default#803

Merged
ptr727 merged 2 commits into
developfrom
feature/editorconfig-global-eol
Jul 5, 2026
Merged

Add the global editorconfig CRLF default#803
ptr727 merged 2 commits into
developfrom
feature/editorconfig-global-eol

Conversation

@ptr727

@ptr727 ptr727 commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Adds end_of_line = crlf to the .editorconfig [*] block so every file type has a defined ending (matching the fleet template) instead of the per-extension-only form. Per-type CRLF rules and .gitattributes LF pins unchanged.

Resolves the recurring line-ending drift from the ProjectTemplate audit (reports/plexcleaner/audit.md), via the audit convergence pattern (AUDIT.md section 10).

🤖 Generated with Claude Code

Set end_of_line = crlf on the [*] block so every file type has a defined ending, matching the fleet template. Per-type CRLF rules and .gitattributes LF pins unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 5, 2026 17:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository-wide EditorConfig defaults to explicitly define CRLF line endings in the global [*] block, aiming to reduce line-ending drift across file types while preserving existing per-file-type overrides.

Changes:

  • Add end_of_line = crlf to the .editorconfig [*] defaults block.

Comment thread .editorconfig
The global [*] end_of_line = crlf also matches the extensionless .husky/pre-commit hook, which must stay LF (a CRLF shebang breaks it when run from the working tree). Add a matching editorconfig LF override, aligned with the existing .gitattributes pin.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@ptr727 ptr727 merged commit 55def3b into develop Jul 5, 2026
15 checks passed
@ptr727 ptr727 deleted the feature/editorconfig-global-eol branch July 5, 2026 20:42
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