From bff730124dd5eb3520b088b7afcb248fc45fc06a Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 9 May 2023 11:16:46 +0300 Subject: [PATCH] .{editorconfig,gitattributes}: explicitly use lf line endings --- .editorconfig | 4 +--- .gitattributes | 5 +---- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.editorconfig b/.editorconfig index 1afb369..0c8e079 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,15 +1,13 @@ root = true [*] +end_of_line = lf trim_trailing_whitespace = true insert_final_newline = true charset = utf-8 indent_style = tab indent_size = tab -[*.{bash,sh}] -end_of_line = lf - [*.{markdown,md}] trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes index 37e609f..684fc0e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,8 +1,5 @@ # Line normalisation, GitHub language detection for everything -* text=auto linguist-detectable - -# Checkout bash files with lf line endings regardless of platform -*.bash text eol=lf +* text=auto linguist-detectable eol=lf # Git Large File Storage *.png filter=lfs diff=lfs merge=lfs -text