From 5ff5e661930a99d1c65257fa3d195d7aaa77544c Mon Sep 17 00:00:00 2001 From: jansthcirlu Date: Thu, 6 Aug 2026 16:22:35 +0200 Subject: [PATCH] Enforce LF line endings via .gitattributes and .editorconfig. --- .editorconfig | 7 +++++-- .gitattributes | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig index fdc526a..ead930e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,11 +1,14 @@ root = true +[*] +# Normalise line endings +end_of_line = lf +insert_final_newline = true + [*.cs] # Basic formatting indent_style = space indent_size = 4 -end_of_line = lf -insert_final_newline = true trim_trailing_whitespace = true # 1. EXPLICIT TYPES (no var anywhere) diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf