From cdb64c525b7e289a562cabeb72f26a298d2b4e22 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Mon, 20 Sep 2021 02:21:33 +0200 Subject: Force LF line endings in frontend files eslint will signal an error if Git adds CRLF line endings to TypeScript files on Windows. --- .gitattributes | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .gitattributes (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..63f6b190 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,7 @@ +*.css eol=lf +*.js eol=lf +*.json eol=lf +*.jsx eol=lf +*.scss eol=lf +*.ts eol=lf +*.tsx eol=lf -- cgit v1.2.3-54-g00ecf