Skip to content

Commit 7c99cba

Browse files
committed
Fix binary file treatment
1 parent 49ff8eb commit 7c99cba

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.editorconfig

+8
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,11 @@ indent_size = 4
1212

1313
[*.md]
1414
trim_trailing_whitespace = false
15+
16+
[*.png]
17+
trim_trailing_whitespace = false
18+
insert_final_newline = false
19+
20+
[*.jpg]
21+
trim_trailing_whitespace = false
22+
insert_final_newline = false

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
33
# Auto detect text files and perform LF normalization
44
* text eol=lf
5+
*.png binary
6+
*.jpg binary
57
# Ignore all test and documentation with "export-ignore".
68
/.editorconfig export-ignore
79
/.gitattributes export-ignore

0 commit comments

Comments
 (0)