.gitattributes 469 B

123456789101112131415
  1. # patch-package diffs must stay LF so they apply on Vercel/Linux
  2. patches/*.patch text eol=lf
  3. # Source stays LF in the repo whatever a client's core.autocrlf is. Explicit
  4. # `text`, not `text=auto`: a stray CR (\r\r\n) makes auto-detection call the
  5. # file binary, which hides its diffs and blocks text merges.
  6. *.js text eol=lf
  7. *.jsx text eol=lf
  8. *.mjs text eol=lf
  9. *.cjs text eol=lf
  10. *.ts text eol=lf
  11. *.tsx text eol=lf
  12. *.json text eol=lf
  13. *.css text eol=lf
  14. *.md text eol=lf