Update .gitattributes

This commit is contained in:
Foster Hangdaan 2024-09-07 07:51:44 -04:00
parent 969751c21d
commit 76c803b894
Signed by: foster
GPG key ID: E48D7F49A852F112

20
.gitattributes vendored
View file

@ -1,12 +1,12 @@
## GITATTRIBUTES FOR WEB PROJECTS
#
# These settings are for any web project.
# These settings are for any web project using LFS. All known binary
# types are tracked.
#
# Details per file setting:
# text These files should be normalized (i.e. convert CRLF to LF).
# binary These files are binary and should be left untouched.
# filter=lfs These files are tracked by LFS.
#
# Note that binary is a macro for -text -diff.
######################################################################
# Auto detect
@ -26,6 +26,8 @@
*.inc text
*.ini text
*.js text
*.mjs text
*.cjs text
*.json text
*.jsx text
*.less text
@ -120,12 +122,15 @@ yarn.lock text -diff
browserslist text
Makefile text
makefile text
# Fixes syntax highlighting on GitHub to allow comments
tsconfig.json linguist-language=JSON-with-Comments
# Heroku
Procfile text
# Graphics
*.ai filter=lfs diff=lfs merge=lfs -text
*.avif filter=lfs diff=lfs merge=lfs -text
*.bmp filter=lfs diff=lfs merge=lfs -text
*.eps filter=lfs diff=lfs merge=lfs -text
*.gif filter=lfs diff=lfs merge=lfs -text
@ -133,9 +138,10 @@ Procfile text
*.ico filter=lfs diff=lfs merge=lfs -text
*.jng filter=lfs diff=lfs merge=lfs -text
*.jp2 filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.jpx filter=lfs diff=lfs merge=lfs -text
*.jxl filter=lfs diff=lfs merge=lfs -text
*.jxr filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
@ -199,9 +205,15 @@ Procfile text
# Executables
*.exe filter=lfs diff=lfs merge=lfs -text
*.pyc filter=lfs diff=lfs merge=lfs -text
# Prevents massive diffs caused by vendored, minified files
**/.yarn/releases/** filter=lfs diff=lfs merge=lfs -text
**/.yarn/plugins/** filter=lfs diff=lfs merge=lfs -text
# RC files (like .babelrc or .eslintrc)
*.*rc text
# Ignore files (like .npmignore or .gitignore)
*.*ignore text
# Prevents massive diffs from built files
dist/* filter=lfs diff=lfs merge=lfs -text