From f17e527d725d6e51495994496c89618c6f5b05aa Mon Sep 17 00:00:00 2001 From: Okinea Dev Date: Tue, 18 Feb 2025 14:59:31 +0100 Subject: [PATCH] chore: improve `.gitattributes` (#1447) --- .gitattributes | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitattributes b/.gitattributes index 485306a9..aa7dbbba 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,13 @@ +# See https://git-scm.com/docs/gitattributes#_pattern_format for more about `.gitattributes`. + +# Normalize EOL for all files that Git considers text files * text=auto eol=lf + +# Mark lock files as generated to avoid diffing pnpm-lock.yaml linguist-generated package-lock.json linguist-generated bun.lockb linguist-generated yarn.lock linguist-generated + +# Exclude templates from language statistics +templates/**/* linguist-vendored