GeezerVison is showing github.com — Add .gitattributes so eslint can run on Windows · SnoopyMod/scratch-vm@525a230
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboard +32Lines changed: 32 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 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 | + |
| 9 | +# Prefer LF for most file types |
| 10 | +*.frag text eol=lf |
| 11 | +*.htm text eol=lf |
| 12 | +*.html text eol=lf |
| 13 | +*.iml text eol=lf |
| 14 | +*.js text eol=lf |
| 15 | +*.js.map text eol=lf |
| 16 | +*.json text eol=lf |
| 17 | +*.md text eol=lf |
| 18 | +*.vert text eol=lf |
| 19 | +*.xml text eol=lf |
| 20 | + |
| 21 | +# Prefer LF for these files |
| 22 | +.editorconfig text eol=lf |
| 23 | +.eslintrc text eol=lf |
| 24 | +.gitattributes text eol=lf |
| 25 | +.gitignore text eol=lf |
| 26 | +.gitmodules text eol=lf |
| 27 | +LICENSE text eol=lf |
| 28 | +Makefile text eol=lf |
| 29 | +README text eol=lf |
| 30 | +TRADEMARK text eol=lf |
| 31 | + |
| 32 | +# Use CRLF for Windows-specific file types |