diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..601d738 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,22 @@ +# Keep LF in the working copy for all text files (prettier enforces LF) +* text=auto eol=lf + +# Windows scripts that genuinely need CRLF +*.bat text eol=crlf +*.cmd text eol=crlf +*.ps1 text eol=crlf + +# Binary assets — never touch line endings +*.png binary +*.jpg binary +*.jpeg binary +*.webp binary +*.gif binary +*.ico binary +*.icns binary +*.woff binary +*.woff2 binary +*.ttf binary +*.otf binary +*.mp4 binary +*.onnx binary