diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..4b30a400 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,16 @@ +# Enforce LF in the working tree regardless of a contributor's core.autocrlf. +# Without this, Git on Windows smudges every text file to CRLF on clone, stash +# pop, or checkout, which fails `bun run format:check` (prettier endOfLine: lf). +* text=auto eol=lf + +# Binary assets Git must not touch. +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.webp binary +*.ico binary +*.pdf binary +*.woff binary +*.woff2 binary +*.db binary