editorconfig and gitattributes changes

This commit is contained in:
Znote
2020-06-01 23:25:42 +02:00
parent 8d959350d3
commit 31c233d559
2 changed files with 23 additions and 0 deletions

16
.gitattributes vendored Normal file
View File

@@ -0,0 +1,16 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Declare files that will always have LF line endings on checkout.
*.php text eol=lf
*.lua text eol=lf
*.html text eol=lf
*.css text eol=lf
*.js text eol=lf
*.xml text eol=lf
*.sql text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary