From de41301a44868461fc00731230489cfdbecb06e7 Mon Sep 17 00:00:00 2001 From: Shazib Hussain Date: Sat, 1 Jul 2023 19:00:05 +0100 Subject: [PATCH] .gitattributes Check line endings for tsx files (#1246) --- .gitattributes | 2 ++ upcoming-release-notes/1246.md | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 upcoming-release-notes/1246.md diff --git a/.gitattributes b/.gitattributes index ad84fe7c7b5..21f3d101a30 100644 --- a/.gitattributes +++ b/.gitattributes @@ -10,6 +10,8 @@ *.js text eol=lf *.ts text eol=lf *.sh text eol=lf +*.tsx text eol=lf + yarn.lock text eol=lf # Denote all files that are truly binary and should not be modified. diff --git a/upcoming-release-notes/1246.md b/upcoming-release-notes/1246.md new file mode 100644 index 00000000000..330f9e213da --- /dev/null +++ b/upcoming-release-notes/1246.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [Shazib] +--- + +Updated git settings to ensure unix line endings on `.tsx` files