Skip to content

Commit 92cad5e

Browse files
feat: add .gitattributes to enforce LF line endings and handle binary files
1 parent df78597 commit 92cad5e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.gitattributes

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Enforce consistent LF line endings across the repository to avoid Windows CRLF lint failures.
2+
* text eol=lf
3+
4+
# Treat common binary artifacts appropriately.
5+
*.png binary
6+
*.jpg binary
7+
*.jpeg binary
8+
*.gif binary
9+
*.ico binary
10+
*.zip binary
11+
*.gz binary
12+
*.tgz binary
13+
*.svg text eol=lf

0 commit comments

Comments
 (0)