Skip to content

Add the global editorconfig CRLF default#371

Merged
ptr727 merged 1 commit into
developfrom
feature/editorconfig-global-eol
Jul 5, 2026
Merged

Add the global editorconfig CRLF default#371
ptr727 merged 1 commit 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. The per-type CRLF rules and the .gitattributes LF pins are unchanged; real files stay compliant.

Resolves the recurring line-ending drift flagged in the ProjectTemplate audit (ptr727/ProjectTemplate reports/utilities/audit.md). First application of the audit convergence pattern (ProjectTemplate AUDIT.md section 10).

🤖 Generated with Claude Code

Set end_of_line = crlf on the [*] block so every file type has a defined ending instead of falling through to the OS default, matching the fleet template. The per-type CRLF rules and the .gitattributes LF pins are 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 14:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 standardizes the default line-ending policy by adding end_of_line = crlf to the .editorconfig [*] defaults, ensuring every file type has an explicit end_of_line setting while preserving existing per-file-type overrides (notably LF for .sh, .husky/pre-commit, and Dockerfiles).

Changes:

  • Add end_of_line = crlf to the global .editorconfig [*] block to define a repo-wide default.
  • Keep existing per-pattern end_of_line overrides intact (e.g., LF for shell scripts and Dockerfiles).

@ptr727 ptr727 merged commit ec92a48 into develop Jul 5, 2026
10 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