From 36ab1704334609f47e1134f4c5cc0d0a357e6f17 Mon Sep 17 00:00:00 2001 From: Experiment-626 Date: Wed, 22 Aug 2018 07:49:58 -0400 Subject: [PATCH] Added missing editorconfig file. --- .editorconfig | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..2a4f3562 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,53 @@ +root = true + +[*] +indent_style = space + +[*.{cs,csx,vb,vbx}] +indent_size = 4 + +[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj,props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct,json}] +indent_size = 2 + +[*.{cs,vb}] +dotnet_sort_system_directives_first = true + +dotnet_style_qualification_for_field = true:error +dotnet_style_qualification_for_property = true:error +dotnet_style_qualification_for_method = true:error +dotnet_style_qualification_for_event = true:error + +dotnet_style_predefined_type_for_locals_parameters_members = true:error +dotnet_style_predefined_type_for_member_access = true:error + +dotnet_style_object_initializer = true:error +dotnet_style_collection_initializer = true:error +dotnet_style_coalesce_expression = true:error +dotnet_style_null_propagation = true:error +dotnet_style_explicit_tuple_names = true:error + +[*.cs] +csharp_style_var_for_built_in_types = true:error +csharp_style_var_when_type_is_apparent = true:error +csharp_style_var_elsewhere = true:error + +csharp_style_expression_bodied_methods = true:error +csharp_style_expression_bodied_constructors = true:error +csharp_style_expression_bodied_operators = true:error + +csharp_style_expression_bodied_properties = true:error +csharp_style_expression_bodied_indexers = true:error +csharp_style_expression_bodied_accessors = true:error + +csharp_style_pattern_matching_over_is_with_cast_check = true:error +csharp_style_pattern_matching_over_as_with_null_check = true:error +csharp_style_inlined_variable_declaration = true:error +csharp_style_throw_expression = true:error +csharp_style_conditional_delegate_call = true:error + +csharp_new_line_before_open_brace = false:error +csharp_new_line_before_else = true:error +csharp_new_line_before_catch = true:error +csharp_new_line_before_finally = true:error +csharp_new_line_before_members_in_object_initializers = true:error +csharp_new_line_before_members_in_anonymous_types = true:error \ No newline at end of file