| # normal text files should contain a simple LF lineend, the following settings | |
| # ensures this even if the user has not set core.autocrlf. | |
| * text=auto | |
| # Checkout JavaScript files with LF line endings | |
| # to prevent `prettier` from reporting errors on Windows. | |
| *.js eol=lf | |
| *.jsx eol=lf | |
| *.ts eol=lf | |
| *.tsx eol=lf | |
| *.json eol=lf | |
| # This directory contains email messages verbatim, and changing CRLF to | |
| # LF will corrupt them. | |
| test-data/** text=false | |
| # binary files should be detected by git, however, to be sure, you can add them here explicitly | |
| *.png binary | |
| *.jpg binary | |
| *.gif binary | |
| *.ico binary | |
| *.py diff=python | |
| *.rs diff=rust | |
| *.md diff=markdown | |
| assets/welcome-image.jpg filter=lfs diff=lfs merge=lfs -text | |
| test-data/image/screenshot-rgba.png filter=lfs diff=lfs merge=lfs -text | |
| test-data/image/screenshot.gif filter=lfs diff=lfs merge=lfs -text | |
| test-data/image/screenshot.jpg filter=lfs diff=lfs merge=lfs -text | |
| test-data/image/screenshot.png filter=lfs diff=lfs merge=lfs -text | |