From 02265db767923995aab20c678c7225e29acf3c0d Mon Sep 17 00:00:00 2001 From: Toha Date: Sat, 1 Aug 2026 10:09:40 +0700 Subject: [PATCH] Normalize line endings. Signed-off-by: Toha --- .gitattributes | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..b44489469 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,15 @@ +# https://docs.github.com/en/get-started/git-basics/configuring-git-to-handle-line-endings + +# Set the default behavior, in case people don't have core.autocrlf set +* text=auto + +# Files that will always have CRLF line endings on checkout +*.js text eol=crlf +*.mjs text eol=crlf +*.ts text eol=crlf +*.xml text eol=crlf +*.md text eol=crlf +workers.txt text eol=crlf + +# Files that will always have LF line endings on checkout +*.sh text eol=lf \ No newline at end of file