2016-10-18 21:38:28 +08:00
|
|
|
# Set the default behavior, in case people don't have core.autocrlf set.
|
|
|
|
* text=auto
|
|
|
|
|
|
|
|
# Explicitly specify line endings for as many files as possible.
|
|
|
|
# People who (for example) rsync between Windows and Linux need this.
|
|
|
|
|
|
|
|
# File types which we know are binary
|
|
|
|
|
2018-11-12 20:50:40 +08:00
|
|
|
# Treat SVG files as binary so that their contents don't change due to line
|
|
|
|
# endings. The contents of SVGs must not change from the way they're stored
|
|
|
|
# on assets.scratch.mit.edu so that MD5 calculations don't change.
|
|
|
|
*.svg binary
|
|
|
|
|
2016-10-18 21:38:28 +08:00
|
|
|
# Prefer LF for most file types
|
2020-02-04 07:33:13 +08:00
|
|
|
*.css text eol=lf
|
2016-10-18 21:38:28 +08:00
|
|
|
*.frag text eol=lf
|
|
|
|
*.htm text eol=lf
|
|
|
|
*.html text eol=lf
|
|
|
|
*.iml text eol=lf
|
|
|
|
*.js text eol=lf
|
|
|
|
*.js.map text eol=lf
|
|
|
|
*.json text eol=lf
|
2021-07-27 07:30:33 +08:00
|
|
|
*.json5 text eol=lf
|
2017-04-11 23:31:18 +08:00
|
|
|
*.jsx text eol=lf
|
2016-10-18 21:38:28 +08:00
|
|
|
*.md text eol=lf
|
|
|
|
*.vert text eol=lf
|
|
|
|
*.xml text eol=lf
|
2017-04-11 23:31:18 +08:00
|
|
|
*.yml text eol=lf
|
2016-10-18 21:38:28 +08:00
|
|
|
|
|
|
|
# Prefer LF for these files
|
|
|
|
.editorconfig text eol=lf
|
|
|
|
.eslintrc text eol=lf
|
|
|
|
.gitattributes text eol=lf
|
|
|
|
.gitignore text eol=lf
|
|
|
|
.gitmodules text eol=lf
|
|
|
|
LICENSE text eol=lf
|
|
|
|
Makefile text eol=lf
|
|
|
|
README text eol=lf
|
|
|
|
TRADEMARK text eol=lf
|
|
|
|
|
|
|
|
# Use CRLF for Windows-specific file types
|