1 | # Set the default behavior, in case people don't have core.autocrlf set.
|
2 | * text=auto
|
3 |
|
4 | # Explicitly specify line endings for as many files as possible.
|
5 | # People who (for example) rsync between Windows and Linux need this.
|
6 |
|
7 | # File types which we know are binary
|
8 | *.png binary
|
9 | *.wav binary
|
10 |
|
11 | # Prefer LF for most file types
|
12 | *.js text eol=lf
|
13 | *.js.map text eol=lf
|
14 | *.json text eol=lf
|
15 | *.md text eol=lf
|
16 | *.svg text eol=lf
|
17 | *.yml text eol=lf
|
18 |
|
19 | # Prefer LF for these files
|
20 | .editorconfig text eol=lf
|
21 | .eslintignore text eol=lf
|
22 | .gitattributes text eol=lf
|
23 | .gitignore text eol=lf
|
24 | .npmignore text eol=lf
|
25 | LICENSE text eol=lf
|
26 | TRADEMARK text eol=lf
|
27 |
|
28 | # Use CRLF for Windows-specific file types
|