From a6279eaea274922b16b8854ab7b4fb39b66de69c Mon Sep 17 00:00:00 2001 From: Ayu Adiati <45172775+adiati98@users.noreply.github.com> Date: Fri, 12 Jan 2024 07:59:55 +0100 Subject: [PATCH] fix: add `.gitattributes` file and normalize all the line endings (#301) * Add .gitattributes file * Add LF normalization setting for .ts files * Add LF normalization setting for .tsx files * feat: add line endings rules for .js .json and .md --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..b5733b4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# Explicitly declare text files you want to always be normalized and converted to native line endings on checkout. +*.ts text eol=lf +*.tsx text eol=lf +*.js text eol=lf +*.json text eol=lf +*.md text eol=lf