Add the global editorconfig CRLF default#803
Merged
Merged
Conversation
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>
There was a problem hiding this comment.
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 = crlfto the.editorconfig[*]defaults block.
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
end_of_line = crlfto 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.gitattributesLF pins unchanged.Resolves the recurring line-ending drift from the ProjectTemplate audit (
reports/plexcleaner/audit.md), via the audit convergence pattern (AUDIT.mdsection 10).🤖 Generated with Claude Code