Added gitattributes to support multi-platform development without getting noisy diffs.

This commit is contained in:
SergeantPanda 2025-03-24 09:13:29 -05:00
parent df835addb6
commit 3154d9e5e0
2 changed files with 21 additions and 3 deletions

20
.gitattributes vendored Normal file
View file

@ -0,0 +1,20 @@
# Auto detect text files and perform LF normalization
* text=auto
# Explicitly declare text files that should always be normalized
*.py text
*.js text
*.jsx text
*.css text
*.html text
*.md text
# Declare files that will always have specific line endings
*.bat text eol=crlf
*.sh text eol=lf
# Denote all files that are truly binary and should not be modified
*.png binary
*.jpg binary
*.gif binary
*.ico binary

4
.gitignore vendored
View file

@ -10,6 +10,4 @@ docker/Dockerfile DEV
static/
data/
.next
next-env.d.ts
.gitattributes
next-env.d.ts