You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

.editorconfig 2.5 kB

8 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # EditorConfig is awesome: http://EditorConfig.org
  2. root = true
  3. [*]
  4. charset = utf-8
  5. end_of_line = lf
  6. insert_final_newline = true
  7. indent_size = 4
  8. indent_style = space
  9. trim_trailing_whitespace = true
  10. [*.{csproj,json,md,yml}]
  11. indent_size = 2
  12. indent_style = space
  13. [*.sln]
  14. indent_style = tab
  15. [*.cs]
  16. dotnet_style_qualification_for_field = false:suggestion
  17. dotnet_style_qualification_for_property = false:suggestion
  18. dotnet_style_qualification_for_method = false:suggestion
  19. dotnet_style_qualification_for_event = false:suggestion
  20. dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
  21. dotnet_style_predefined_type_for_member_access = true:suggestion
  22. dotnet_style_object_initializer = true:suggestion
  23. dotnet_style_collection_initializer = true:suggestion
  24. dotnet_style_explicit_tuple_names = true:suggestion
  25. dotnet_style_coalesce_expression = true:suggestion
  26. dotnet_style_null_propagation = true:suggestion
  27. csharp_style_var_for_built_in_types = true:suggestion
  28. csharp_style_var_when_type_is_apparent = true:suggestion
  29. csharp_style_var_elsewhere = true:suggestion
  30. csharp_style_expression_bodied_methods = true:none
  31. csharp_style_expression_bodied_operators = true:none
  32. csharp_style_expression_bodied_properties = true:none
  33. csharp_style_expression_bodied_indexers = true:none
  34. csharp_style_expression_bodied_accessors = true:none
  35. csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
  36. csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
  37. csharp_style_inlined_variable_declaration = true:suggestion
  38. csharp_prefer_simple_default_expression = false:none
  39. csharp_style_throw_expression = true:none
  40. csharp_style_conditional_delegate_call = true:none
  41. csharp_prefer_braces = false:none
  42. dotnet_sort_system_directives_first = false
  43. csharp_new_line_before_open_brace = all
  44. csharp_new_line_before_else = true
  45. csharp_new_line_before_catch = true
  46. csharp_new_line_before_finally = true
  47. csharp_new_line_before_members_in_object_initializers = true
  48. csharp_new_line_before_members_in_anonymous_types = true
  49. csharp_new_line_within_query_expression_clauses = true
  50. csharp_indent_case_contents = true
  51. csharp_indent_switch_labels = true
  52. csharp_indent_labels = flush_left
  53. csharp_space_after_cast = false
  54. csharp_space_after_keywords_in_control_flow_statements = true
  55. csharp_space_between_method_declaration_parameter_list_parentheses = false
  56. csharp_space_between_method_call_parameter_list_parentheses = false
  57. csharp_preserve_single_line_statements = false
  58. csharp_preserve_single_line_blocks = true