From 83afa970176cf23619d7054dc64fc0af4e0fb969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Luthi?= Date: Tue, 23 Nov 2021 15:06:41 +0100 Subject: [PATCH] Set end_of_line to LF instead of CRLF This matches the actual content of the repository (except for a few files which have CRLF instead of LF) The motivation behind this change is that Rider observes the .editorconfig rules and changes the line ending to CRLF on save. When submitting pull requests the diff is full of changes because all the end of lines were changed from LF to CRLF. By setting `end_of_line` to `LF` the end of lines are not changed on save and the diffs are clean when submitting pull requests. --- .editorconfig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.editorconfig b/.editorconfig index d338199..2d99c04 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,7 +2,7 @@ root = true [*] charset = utf-8 -end_of_line = CRLF +end_of_line = LF indent_style = space indent_size = 4 insert_final_newline = false @@ -26,9 +26,6 @@ indent_size = 2 [*.md] trim_trailing_whitespace = false -[*.sh] -end_of_line = lf - [*.cs] # Prefer file scoped namespace declarations csharp_style_namespace_declarations = file_scoped:warning