From e3e62f5dfd6c4818fca3e8aff2c1e94506666f29 Mon Sep 17 00:00:00 2001 From: "VincentH.NET" Date: Mon, 29 Aug 2022 08:19:45 +0200 Subject: [PATCH] update repo to template editorconfig+gitattributes --- .editorconfig | 12 ++++++------ .gitattributes => EOL.gitattributes | 0 2 files changed, 6 insertions(+), 6 deletions(-) rename .gitattributes => EOL.gitattributes (100%) diff --git a/.editorconfig b/.editorconfig index 35a7d6a..6a05720 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,5 @@ -# Version 20220615 -# This file should be placed only in the root of each repository; we do not inherit .editorconfig settings from higher directories +# Version 20220829 +# This file does not inherit .editorconfig settings from higher directories - where possible, place it at the root of the repository # References: # - To learn more about .editorconfig see https://aka.ms/editorconfigdocs @@ -14,7 +14,7 @@ root = true # All files [*] indent_style = space -# Line endings are different from Visual Studio for Windows .editorconfig template defaults; see comments in .gitattributes for rationale +# Line endings are different from Visual Studio for Windows .editorconfig template defaults; see comments in EOL.gitattributes for rationale end_of_line = lf # Code files @@ -24,7 +24,7 @@ insert_final_newline = true charset = utf-8-bom ############################################################### -# Different from VS2019 .NET .editorconfig template defaults # +# Different from VS2022 .NET .editorconfig template defaults # # Defaults are left in their original location, commented out # # with comment prefix "# Default: " # ############################################################### @@ -55,8 +55,8 @@ dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning dotnet_style_prefer_inferred_tuple_names = true:warning dotnet_style_prefer_inferred_anonymous_type_member_names = true:warning dotnet_style_prefer_auto_properties = true:warning -dotnet_style_prefer_conditional_expression_over_assignment = true:warning -dotnet_style_prefer_conditional_expression_over_return = true:warning +dotnet_style_prefer_conditional_expression_over_assignment = true:suggestion +dotnet_style_prefer_conditional_expression_over_return = true:suggestion csharp_style_deconstructed_variable_declaration = true:warning csharp_prefer_simple_default_expression = true:warning diff --git a/.gitattributes b/EOL.gitattributes similarity index 100% rename from .gitattributes rename to EOL.gitattributes