chore: add .gitattributes to normalize line endings#301
chore: add .gitattributes to normalize line endings#301BillChirico merged 5 commits intoVolvoxCommunity:mainfrom
Conversation
Standardizes line endings to LF across all text files to prevent spurious diffs from Windows CRLF conversions. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
@Mnehmos is attempting to deploy a commit to the Volvox Team on Vercel. A member of the Team first needs to authorize it. |
📝 WalkthroughSummary by CodeRabbit
WalkthroughAdds a new Changes
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Important Action Needed: IP Allowlist UpdateIf your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:
Reviews will stop working after February 8, 2026 if the new IP is not added to your allowlist. 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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @.gitattributes:
- Around line 17-26: Update the .gitattributes binary list to include other
common binary types by adding patterns such as *.mp4, *.mov, *.avi, *.mkv,
*.webm, *.pdf, *.docx, *.xlsx, *.pptx, *.zip, *.tar, *.gz, *.rar, *.exe, *.dll,
*.so, *.dylib, *.class, *.jar, *.war, *.pyc, *.pyo, *.db, *.sqlite, *.otf and
*.psd so these files are treated as binary; modify the existing binary block
(the lines with *.png, *.jpg, etc.) to append these additional patterns and
ensure each pattern is followed by the "binary" attribute for consistent
handling by Git.
a8a409a to
90ff2c0
Compare
Add all common binary formats as suggested in PR review: - Archives: zip, tar, gz, rar - Executables/libraries: exe, dll, so, dylib - Documents: pdf, docx, xlsx, pptx - Video: mp4, webm, mov, avi, mkv - Audio: mp3, wav - Java: class, jar, war - Python: pyc, pyo - Databases: db, sqlite - Other: webp, avif, otf, psd Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @.gitattributes:
- Around line 4-15: Update the .gitattributes text file list to include
additional common text formats so line endings are normalized for files that are
hand-edited; specifically add patterns such as *.svg text eol=lf (important),
plus other useful text globs like *.txt text eol=lf, *.env text eol=lf, *.lock
text eol=lf and optionally *.pem *.crt *.conf as text eol=lf to cover common
config/certificate files; modify the existing block that contains the globs
(*.ts, *.js, *.json, etc.) to include these new patterns so they follow the same
normalization rules.
Add common text formats for line ending normalization: - svg (important for hand-edited vector graphics) - txt, env, lock (common config/dependency files) - conf, pem, crt (config and certificate files) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Summary
.gitattributesfile to standardize line endings to LF across all text filesTest plan
🤖 Generated with Claude Code
Important
Adds
.gitattributesto enforce LF line endings for text files and preserve binary files..gitattributesto enforce LF line endings for text files and preserve binary files..ts,.tsx,.js,.jsx,.json,.md,.yml,.yaml,.css,.html,.sql..png,.jpg,.jpeg,.gif,.ico,.woff,.woff2,.ttf,.eotas binary.This description was created by
for bcae2ce. You can customize this summary. It will automatically update as commits are pushed.