Skip to content

Commit ea25b15

Browse files
committed
(chore) add gitattributes
1 parent f64de31 commit ea25b15

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.gitattributes

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Handle line endings automatically for files detected as text
2+
# and leave all files detected as binary untouched.
3+
* text=auto
4+
5+
# The above will handle all files NOT found below
6+
#
7+
# These files are text and should be normalized (Convert crlf => lf)
8+
# Use lf as eol for these files
9+
.editorconfig text eol=lf
10+
.gitignore text eol=lf
11+
*.css text eol=lf
12+
*.htm text eol=lf
13+
*.html text eol=lf
14+
*.js text eol=lf
15+
*.json text eol=lf
16+
*.md text eol=lf
17+
*.sh text eol=lf
18+
*.ts text eol=lf
19+
*.txt text eol=lf
20+
*.xml text eol=lf
21+
22+
# These files are binary and should be left untouched
23+
# (binary is a macro for -text -diff)
24+
*.gif binary
25+
*.ico binary
26+
*.jpg binary
27+
*.jpeg binary
28+
*.png binary

0 commit comments

Comments
 (0)