From 6d29b91832e6b94679c5d6826bd17e545271cfc7 Mon Sep 17 00:00:00 2001 From: devantler Date: Thu, 25 Jun 2026 12:15:36 +0200 Subject: [PATCH] chore: enforce LF line endings via .gitattributes --- .gitattributes | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b86bbb --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +# Normalize line endings for the whole scaffold. The .editorconfig declares +# `end_of_line = lf`, but that is only an editor hint — without this file a +# contributor whose Git has `core.autocrlf=true` could still commit CRLF, and +# every instance created from the template would inherit the inconsistency. +# `* text=auto` lets Git auto-detect text vs. binary; `eol=lf` guarantees LF in +# the repository and on checkout regardless of the contributor's platform. Every +# tracked file is already LF, so this is churn-free; `text=auto` keeps it correct +# if a binary asset is ever added. +* text=auto eol=lf