.editorconfig 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. [*.proto]
  2. indent_style=tab
  3. indent_size=tab
  4. tab_width=4
  5. [*.{asax,ascx,aspx,cs,cshtml,css,htm,html,js,jsx,master,razor,skin,ts,tsx,vb,xaml,xamlx,xoml}]
  6. indent_style=space
  7. indent_size=4
  8. tab_width=4
  9. [*.{appxmanifest,axml,build,config,csproj,dbml,discomap,dtd,json,jsproj,lsproj,njsproj,nuspec,proj,props,resjson,resw,resx,StyleCop,targets,tasks,vbproj,xml,xsd}]
  10. indent_style=space
  11. indent_size=2
  12. tab_width=2
  13. [*]
  14. # Microsoft .NET properties
  15. csharp_new_line_before_members_in_object_initializers=false
  16. csharp_preferred_modifier_order=public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion
  17. csharp_style_var_elsewhere=true:suggestion
  18. csharp_style_var_for_built_in_types=true:suggestion
  19. csharp_style_var_when_type_is_apparent=true:suggestion
  20. dotnet_naming_rule.local_functions_rule.severity=warning
  21. dotnet_naming_rule.local_functions_rule.style=lower_camel_case_style
  22. dotnet_naming_rule.local_functions_rule.symbols=local_functions_symbols
  23. dotnet_naming_style.lower_camel_case_style.capitalization=camel_case
  24. dotnet_naming_symbols.local_functions_symbols.applicable_accessibilities=*
  25. dotnet_naming_symbols.local_functions_symbols.applicable_kinds=local_function
  26. dotnet_style_parentheses_in_arithmetic_binary_operators=never_if_unnecessary:none
  27. dotnet_style_parentheses_in_other_binary_operators=never_if_unnecessary:none
  28. dotnet_style_parentheses_in_relational_binary_operators=never_if_unnecessary:none
  29. dotnet_style_predefined_type_for_locals_parameters_members=true:suggestion
  30. dotnet_style_predefined_type_for_member_access=true:suggestion
  31. dotnet_style_qualification_for_event=false:suggestion
  32. dotnet_style_qualification_for_field=false:suggestion
  33. dotnet_style_qualification_for_method=false:suggestion
  34. dotnet_style_qualification_for_property=false:suggestion
  35. dotnet_style_require_accessibility_modifiers=for_non_interface_members:suggestion
  36. # ReSharper properties
  37. resharper_csharp_naming_rule.local_functions=aaBb, AaBb
  38. # ReSharper inspection severities
  39. resharper_arrange_redundant_parentheses_highlighting=hint
  40. resharper_arrange_this_qualifier_highlighting=hint
  41. resharper_arrange_type_member_modifiers_highlighting=hint
  42. resharper_arrange_type_modifiers_highlighting=hint
  43. resharper_built_in_type_reference_style_for_member_access_highlighting=hint
  44. resharper_built_in_type_reference_style_highlighting=hint
  45. resharper_check_namespace_highlighting=none
  46. resharper_invalid_xml_doc_comment_highlighting=none
  47. resharper_redundant_base_qualifier_highlighting=warning
  48. resharper_suggest_var_or_type_built_in_types_highlighting=hint
  49. resharper_suggest_var_or_type_elsewhere_highlighting=hint
  50. resharper_suggest_var_or_type_simple_types_highlighting=hint
  51. resharper_use_deconstruction_highlighting=none