From f8bafc22d0b5b04bbdce7fd33474168092fde8d9 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Fri, 30 Nov 2018 23:09:35 +0100 Subject: [PATCH] style: add .gitattributes file (#13086) On windows unless otherwise specified when cloning the repo the line ending will be CRLF which will cause some tests large specs to fail --- .gitattributes | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000000..de32b85d6693 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,12 @@ +# Auto detect text files and perform LF normalization +* text=auto + +# JS and TS files must always use LF for tools to work +*.js eol=lf +*.ts eol=lf +*.json eol=lf +*.css eol=lf +*.scss eol=lf +*.less eol=lf +*.html eol=lf +*.svg eol=lf