Skip to content

Commit ccd6d6e

Browse files
Copilotjbampton
andauthored
Add .gitattributes to enforce LF line endings across platforms
Agent-Logs-Url: https://github.com/NextCommunity/NextCommunity.github.io/sessions/8f168f62-4aed-426c-9eec-44fb8ef6d2b0 Co-authored-by: jbampton <418747+jbampton@users.noreply.github.com>
1 parent 94c3944 commit ccd6d6e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Enforce LF line endings for all text files to ensure consistent
2+
# behavior across platforms (fixes yamllint new-lines failures on Windows).
3+
* text=auto eol=lf
4+
5+
# Binary files
6+
*.jpeg binary
7+
*.jpg binary
8+
*.png binary
9+
*.gif binary
10+
*.ico binary

0 commit comments

Comments
 (0)