From 89b9df0387c3b2123d72ad5878e1ff912a13ad4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski-Owczarek?= Date: Thu, 10 Feb 2022 14:32:15 +0100 Subject: [PATCH] Build: Update .gitattributes to files always use LF line endings This should help with Prettier issues. --- .gitattributes | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 176a458..b00ae37 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,3 @@ -* text=auto +# Auto detect text files and perform LF normalization +# Use LF so that tools like Prettier work correctly +* text=auto eol=lf