From 4612a3f5fb66a8ee6b08e596ff7871f4a6f34a9b Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Tue, 5 Nov 2019 21:29:26 +0000 Subject: [PATCH] build: fix #160 add repo wide LF config (.gitattributes, .prettierrc) --- .gitattributes | 7 +++++++ .prettierrc | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..d35aa01471 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,7 @@ +* text=auto eol=lf +*.gif -text +*.jpg -text +*.mp4 -text +*.pdf -text +*.png -text +*.gz -text diff --git a/.prettierrc b/.prettierrc index 776b96e715..2bbeb7c420 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1,5 @@ { "tabWidth": 4, - "arrowParens": "always" -} + "arrowParens": "always", + "endOfLine": "lf" +} \ No newline at end of file