[Chore] Add .gitattributes file and normalize line endings to LF#177
Open
Alex-Preciado wants to merge 3 commits into
Open
[Chore] Add .gitattributes file and normalize line endings to LF#177Alex-Preciado wants to merge 3 commits into
.gitattributes file and normalize line endings to LF#177Alex-Preciado wants to merge 3 commits into
Conversation
LF.gitattributes file and normalize line endings to LF
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #177 +/- ##
=======================================
Coverage 98.69% 98.69%
=======================================
Files 6 6
Lines 537 537
=======================================
Hits 530 530
Misses 7 7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
JerryChen97
reviewed
Apr 28, 2026
| *.png binary | ||
| *.jpg binary | ||
| *.jpeg binary | ||
| *.gif binary |
Contributor
There was a problem hiding this comment.
Suggested change
| *.gif binary | |
| *.gif binary | |
| *.svg binary |
maybe also svg?
JerryChen97
approved these changes
Apr 28, 2026
Contributor
JerryChen97
left a comment
There was a problem hiding this comment.
Thanks a lot for fixing this!!! Very helpful ❤️ ❤️ ❤️
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.
Context:
While modernizing CI workflows, I noticed inconsistent line endings (CRLF vs LF) in the repository
Description:
This PR normalizes line endings across the repository to Unix-style (LF) and adds a
.gitattributesfile to ensure consistency across different operating systems (Windows/Linux/macOS). This new.gitattributesfile:eol=lfwhich automatically converts text files to LF on check-in and ensures they stay LF on a user's machine, regardless of their global git settings..png,.ico, plus other common categories to future proof the repo)tests/anddoc/to keep GitHub language stats accurate for this project.To prepare this PR I have ran
git add --renormalize .to apply these rules to all existing files, effectively resolving all the^Mcharacter issues found in this repository.