From a690bbb8480cbfb447e6f7470e654e5f84ed95f7 Mon Sep 17 00:00:00 2001 From: Mike Miller <87874+mikeage@users.noreply.github.com> Date: Mon, 16 Dec 2024 06:02:10 +0200 Subject: [PATCH] Improve Windows development experience (#797) * Force Windows to use LF line endings for .cs and .py files Force Windows to use LF line endings for .cs and .py files * Tell yamlfmt to always use LF --------- Co-authored-by: Riccardo Bovo --- .editorconfig | 1 + .yamlfmt | 1 + 2 files changed, 2 insertions(+) diff --git a/.editorconfig b/.editorconfig index e497deceac..69d4fd0505 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,6 +10,7 @@ indent_size = 2 [*.{cs,py}] indent_style = space indent_size = 4 +end_of_line = lf # Microsoft .NET properties csharp_new_line_before_members_in_object_initializers = false diff --git a/.yamlfmt b/.yamlfmt index fd7281cdd4..dad45d7e1f 100644 --- a/.yamlfmt +++ b/.yamlfmt @@ -1,4 +1,5 @@ --- +line_ending: lf formatter: include_document_start: true indent: 2