From cdf04d41af0ecf15b743a74e82476a9c487b345e Mon Sep 17 00:00:00 2001 From: Oliver Lipkau Date: Wed, 10 Jan 2024 20:55:23 +0100 Subject: [PATCH] added correct file handling for shell scripts --- .editorconfig | 4 ++++ .gitattributes | 1 + .vscode/.gitattributes | 1 + 3 files changed, 6 insertions(+) create mode 100644 .vscode/.gitattributes diff --git a/.editorconfig b/.editorconfig index 66fda4b6..7d95e280 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,6 +8,10 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true +[*.sh] +end_of_line = lf + + [*.{md,yml,yaml}] trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes index daee888f..71563e57 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,6 +5,7 @@ CHANGELOG.md merge=union * text=auto # Explicitly declare text files we want to always be normalized. +*.sh text eol=lf *.md text eol=crlf *.gitattributes text eol=crlf *.gitignore text eol=crlf diff --git a/.vscode/.gitattributes b/.vscode/.gitattributes new file mode 100644 index 00000000..5fc4d971 --- /dev/null +++ b/.vscode/.gitattributes @@ -0,0 +1 @@ +*.json linguist-language=JSON-with-Comments