From e138aef6a945df5b3b2b34da0b41549d6b710edb Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Mon, 26 Jun 2023 12:30:26 +0500 Subject: [PATCH] config: force unix style line endings --- .gitattributes | 1 + .prettierrc.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..94f480de9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf \ No newline at end of file diff --git a/.prettierrc.js b/.prettierrc.js index 0a676027c..52f8a3db8 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -5,5 +5,6 @@ module.exports = { printWidth: 80, useTabs: false, tabWidth: 2, - bracketSpacing: true + bracketSpacing: true, + endOfLine: "lf" };