From adf07e7d854307d101ca704d9e4c034ecaaa099f Mon Sep 17 00:00:00 2001 From: Stan West <38358698+stanwest@users.noreply.github.com> Date: Tue, 7 Jan 2025 13:37:16 -0500 Subject: [PATCH] chore: Avoid checking out CRLF in shell scripts --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..5b0d8d8809 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# The "shellcheck" pre-commit hook requires shell scripts to end lines with LF +# regardless of git's "core.autocrlf" setting. +*.sh text eol=lf