From e3bcfcba9ff1703e6d648153971b72dffbed1383 Mon Sep 17 00:00:00 2001 From: Robin <16273164+robines@users.noreply.github.com> Date: Fri, 25 Oct 2024 19:45:17 +0200 Subject: [PATCH] Add .gitattributes to force LF line endings (#1546) * Add .gitattributes to force LF line endings * Remove lineEnding option from biome --- .gitattributes | 2 ++ biome.jsonc | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..9cfbef338 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Force all files to use LF line endings +* text=auto diff --git a/biome.jsonc b/biome.jsonc index 8df80d742..f8edeb4c7 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -33,8 +33,7 @@ }, "formatter": { "indentStyle": "space", - "lineWidth": 120, - "lineEnding": "lf" + "lineWidth": 120 }, "javascript": { "formatter": {