Skip to content

Commit

Permalink
update repo to template editorconfig+gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentH-Net committed Aug 29, 2022
1 parent 350ac84 commit e3e62f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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: <original>" #
###############################################################
Expand Down Expand Up @@ -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
Expand Down
File renamed without changes.

0 comments on commit e3e62f5

Please sign in to comment.