From e118f7edb960434d564b123376b1307b6f93f13a Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Mon, 12 Apr 2021 17:32:18 +0100 Subject: [PATCH] Use Unix line endings for shell scripts (#15180) These changes fix [SC1017](https://github.com/koalaman/shellcheck/wiki/SC1017) --- .editorconfig | 1 + .gitattributes | 1 + 2 files changed, 2 insertions(+) diff --git a/.editorconfig b/.editorconfig index 74496fb9a7..6fd562d452 100644 --- a/.editorconfig +++ b/.editorconfig @@ -21,6 +21,7 @@ indent_size = 4 # Shell scripts [*.sh] +end_of_line = lf indent_size = 4 # Xml project files diff --git a/.gitattributes b/.gitattributes index 10790ce394..c9033dc798 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,5 +2,6 @@ CHANGELOG.md merge=union * text=auto *.png binary *.rtf binary +*.sh text eol=lf testablescript.ps1 text eol=lf TestFileCatalog.txt text eol=lf