From 084093cc0ab26f34d86ca5f38b0d3612cf4bc80e Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sat, 22 Dec 2018 11:06:13 -0800 Subject: Update to latest Home\repo-template --- .editorconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '.editorconfig') diff --git a/.editorconfig b/.editorconfig index c989c957..1d72e683 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,7 @@ # Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. +# +# Do NOT modify this file. Update the canonical version in Home\repo-template\src\.editorconfig +# then update all of the repos. root = true @@ -16,6 +19,12 @@ csharp_indent_case_contents = true : error csharp_indent_switch_labels = true : error csharp_new_line_before_open_brace = all csharp_prefer_braces = true : error +csharp_style_expression_bodied_methods = when_on_single_line : suggestion +csharp_style_expression_bodied_constructors = when_on_single_line : suggestion +csharp_style_expression_bodied_operators = when_on_single_line : suggestion +csharp_style_expression_bodied_properties = when_on_single_line : suggestion +csharp_style_expression_bodied_indexers = when_on_single_line : suggestion +csharp_style_expression_bodied_accessors = when_on_single_line : suggestion csharp_style_var_elsewhere = true : suggestion csharp_style_var_for_built_in_types = true : suggestion csharp_style_var_when_type_is_apparent = true : suggestion @@ -23,3 +32,6 @@ dotnet_style_qualification_for_event = true : error dotnet_style_qualification_for_field = true : error dotnet_style_qualification_for_method = true : error dotnet_style_qualification_for_property = true : error + +[*.targets] +indent_size = 2 -- cgit v1.2.3-55-g6feb