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 4.9 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. [*]
  2. charset = utf-8
  3. end_of_line = lf
  4. trim_trailing_whitespace = false
  5. insert_final_newline = false
  6. indent_style = space
  7. indent_size = 4
  8. # Microsoft .NET properties
  9. csharp_new_line_before_members_in_object_initializers = false
  10. csharp_preferred_modifier_order = public, private, protected, internal, file, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:suggestion
  11. csharp_style_prefer_utf8_string_literals = true:suggestion
  12. csharp_style_var_elsewhere = true:suggestion
  13. csharp_style_var_for_built_in_types = true:suggestion
  14. csharp_style_var_when_type_is_apparent = true:suggestion
  15. dotnet_naming_rule.enum_member_rule.import_to_resharper = True
  16. dotnet_naming_rule.enum_member_rule.resharper_description = Enum members
  17. dotnet_naming_rule.enum_member_rule.resharper_guid = 8b8504e3-f0be-4c14-9103-c732f2bddc15
  18. dotnet_naming_rule.enum_member_rule.resharper_style = AA_BB, AaBb
  19. dotnet_naming_rule.enum_member_rule.severity = warning
  20. dotnet_naming_rule.enum_member_rule.style = all_upper_style
  21. dotnet_naming_rule.enum_member_rule.symbols = enum_member_symbols
  22. dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper = True
  23. dotnet_naming_rule.unity_serialized_field_rule.resharper_description = Unity serialized field
  24. dotnet_naming_rule.unity_serialized_field_rule.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef
  25. dotnet_naming_rule.unity_serialized_field_rule.severity = warning
  26. dotnet_naming_rule.unity_serialized_field_rule.style = lower_camel_case_style
  27. dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols
  28. dotnet_naming_style.all_upper_style.capitalization = all_upper
  29. dotnet_naming_style.all_upper_style.word_separator = _
  30. dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
  31. dotnet_naming_symbols.enum_member_symbols.applicable_accessibilities = *
  32. dotnet_naming_symbols.enum_member_symbols.applicable_kinds =
  33. dotnet_naming_symbols.enum_member_symbols.resharper_applicable_kinds = enum_member
  34. dotnet_naming_symbols.enum_member_symbols.resharper_required_modifiers = any
  35. dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = *
  36. dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds =
  37. dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds = unity_serialised_field
  38. dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers = instance
  39. dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
  40. dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
  41. dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
  42. dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
  43. dotnet_style_predefined_type_for_member_access = true:suggestion
  44. dotnet_style_qualification_for_event = false:suggestion
  45. dotnet_style_qualification_for_field = false:suggestion
  46. dotnet_style_qualification_for_method = false:suggestion
  47. dotnet_style_qualification_for_property = false:suggestion
  48. dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
  49. # ReSharper properties
  50. resharper_autodetect_indent_settings = true
  51. resharper_formatter_off_tag = @formatter:off
  52. resharper_formatter_on_tag = @formatter:on
  53. resharper_formatter_tags_enabled = true
  54. resharper_use_indent_from_vs = false
  55. # ReSharper inspection severities
  56. resharper_arrange_redundant_parentheses_highlighting = hint
  57. resharper_arrange_this_qualifier_highlighting = hint
  58. resharper_arrange_type_member_modifiers_highlighting = hint
  59. resharper_arrange_type_modifiers_highlighting = hint
  60. resharper_built_in_type_reference_style_for_member_access_highlighting = hint
  61. resharper_built_in_type_reference_style_highlighting = hint
  62. resharper_razor_assembly_not_resolved_highlighting = warning
  63. resharper_redundant_base_qualifier_highlighting = warning
  64. resharper_suggest_var_or_type_built_in_types_highlighting = hint
  65. resharper_suggest_var_or_type_elsewhere_highlighting = hint
  66. resharper_suggest_var_or_type_simple_types_highlighting = hint
  67. resharper_web_config_module_not_resolved_highlighting = warning
  68. resharper_web_config_type_not_resolved_highlighting = warning
  69. resharper_web_config_wrong_module_highlighting = warning
  70. [{*.har,*.jsb2,*.jsb3,*.json,*.jsonc,*.postman_collection,*.postman_collection.json,*.postman_environment,*.postman_environment.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,jest.config}]
  71. indent_style = space
  72. indent_size = 2
  73. [*.map]
  74. indent_style = space
  75. indent_size = 2
  76. [*.{appxmanifest,asax,ascx,aspx,axaml,build,c,c++,c++m,cc,ccm,cginc,compute,cp,cpp,cppm,cs,cshtml,cu,cuh,cxx,cxxm,dtd,fs,fsi,fsscript,fsx,fx,fxh,h,hh,hlsl,hlsli,hlslinc,hpp,hxx,inc,inl,ino,ipp,ixx,master,ml,mli,mpp,mq4,mq5,mqh,mxx,nuspec,paml,razor,resw,resx,shader,skin,tpp,usf,ush,uxml,vb,xaml,xamlx,xoml,xsd}]
  77. indent_style = space
  78. indent_size = 4
  79. tab_width = 4