.gitattributes 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Set the default behavior, in case people don't have core.autocrlf set.
  2. * text=auto
  3. # Explicitly specify line endings for as many files as possible.
  4. # People who (for example) rsync between Windows and Linux need this.
  5. # File types which we know are binary
  6. # Treat SVG files as binary so that their contents don't change due to line
  7. # endings. The contents of SVGs must not change from the way they're stored
  8. # on assets.scratch.mit.edu so that MD5 calculations don't change.
  9. *.svg binary
  10. # Prefer LF for most file types
  11. *.frag text eol=lf
  12. *.htm text eol=lf
  13. *.html text eol=lf
  14. *.iml text eol=lf
  15. *.js text eol=lf
  16. *.js.map text eol=lf
  17. *.json text eol=lf
  18. *.jsx text eol=lf
  19. *.md text eol=lf
  20. *.vert text eol=lf
  21. *.xml text eol=lf
  22. *.yml text eol=lf
  23. # Prefer LF for these files
  24. .editorconfig text eol=lf
  25. .eslintrc text eol=lf
  26. .gitattributes text eol=lf
  27. .gitignore text eol=lf
  28. .gitmodules text eol=lf
  29. LICENSE text eol=lf
  30. Makefile text eol=lf
  31. README text eol=lf
  32. TRADEMARK text eol=lf
  33. # Use CRLF for Windows-specific file types