From 10503edb900bf068eb304eca12a13c720f022efa Mon Sep 17 00:00:00 2001 From: oshrizak <63424207+oshrizak@users.noreply.github.com> Date: Tue, 26 May 2026 12:12:10 -0700 Subject: [PATCH] chore: add .gitattributes to normalize line endings to LF --- .gitattributes | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..34133e2 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,32 @@ +# Normalize line endings: store text as LF in the repo and check it out as LF on +# every platform (including Windows), so working trees match the repo and Git +# stops reporting "LF will be replaced by CRLF" / whole-file diffs. +* text=auto eol=lf + +# Be explicit for the text types in this repo. +*.ts text eol=lf +*.tsx text eol=lf +*.js text eol=lf +*.mjs text eol=lf +*.cjs text eol=lf +*.json text eol=lf +*.md text eol=lf +*.yaml text eol=lf +*.yml text eol=lf +*.html text eol=lf +*.css text eol=lf +*.sh text eol=lf +*.sql text eol=lf + +# Binary assets: never normalize. +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.webp binary +*.tif binary +*.tiff binary +*.pdf binary +*.ico binary +*.woff binary +*.woff2 binary