From 84efdb0cc201f907411d428ab72890155a6fa4a6 Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford <7019101+cwillisf@users.noreply.github.com> Date: Fri, 11 Jun 2021 14:06:08 -0700 Subject: [PATCH] add .gitattributes --- .gitattributes | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..11d2ad6a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,29 @@ +# 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 +*.png binary + +# Prefer LF for most file types +*.js text eol=lf +*.json text eol=lf +*.md text eol=lf +*.sh text eol=lf +*.yml text eol=lf + +# Prefer LF for these files +.tx/config text eol=lf +.babelrc text eol=lf +.editorconfig text eol=lf +.eslintignore text eol=lf +.gitattributes text eol=lf +.gitignore text eol=lf +.jshintrc text eol=lf +.npmignore text eol=lf +LICENSE text eol=lf +TRADEMARK text eol=lf + +# Use CRLF for Windows-specific file types