No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

85 líneas
4.2 KiB

  1. [*.cs]
  2. # CA1031: Do not catch general exception types
  3. # Microsoft .NET properties
  4. csharp_new_line_before_members_in_object_initializers = false
  5. csharp_preferred_modifier_order = public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion
  6. csharp_style_var_elsewhere = true:suggestion
  7. csharp_style_var_for_built_in_types = true:suggestion
  8. csharp_style_var_when_type_is_apparent = true:suggestion
  9. dotnet_naming_rule.constants_rule.severity = warning
  10. dotnet_naming_rule.constants_rule.style = upper_camel_case_style
  11. dotnet_naming_rule.constants_rule.symbols = constants_symbols
  12. dotnet_naming_rule.public_fields_rule.severity = warning
  13. dotnet_naming_rule.public_fields_rule.style = lower_camel_case_style
  14. dotnet_naming_rule.public_fields_rule.symbols = public_fields_symbols
  15. dotnet_naming_rule.static_readonly_rule.severity = warning
  16. dotnet_naming_rule.static_readonly_rule.style = upper_camel_case_style
  17. dotnet_naming_rule.static_readonly_rule.symbols = static_readonly_symbols
  18. dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
  19. dotnet_naming_style.lower_camel_case_style.required_prefix = _
  20. dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case
  21. dotnet_naming_symbols.constants_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected
  22. dotnet_naming_symbols.constants_symbols.applicable_kinds = field
  23. dotnet_naming_symbols.constants_symbols.required_modifiers = const
  24. dotnet_naming_symbols.public_fields_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected
  25. dotnet_naming_symbols.public_fields_symbols.applicable_kinds = field
  26. dotnet_naming_symbols.static_readonly_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected
  27. dotnet_naming_symbols.static_readonly_symbols.applicable_kinds = field
  28. dotnet_naming_symbols.static_readonly_symbols.required_modifiers = static,readonly
  29. dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
  30. dotnet_style_parentheses_in_other_binary_operators = never_if_unnecessary:none
  31. dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
  32. dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
  33. dotnet_style_predefined_type_for_member_access = true:suggestion
  34. dotnet_style_qualification_for_event = false:suggestion
  35. dotnet_style_qualification_for_field = false:suggestion
  36. dotnet_style_qualification_for_method = false:suggestion
  37. dotnet_style_qualification_for_property = false:suggestion
  38. # ReSharper properties
  39. resharper_autodetect_indent_settings = true
  40. resharper_default_private_modifier = implicit
  41. resharper_place_accessorholder_attribute_on_same_line = false
  42. resharper_use_indent_from_vs = false
  43. # ReSharper inspection severities
  44. resharper_arrange_redundant_parentheses_highlighting = hint
  45. resharper_arrange_this_qualifier_highlighting = hint
  46. resharper_built_in_type_reference_style_for_member_access_highlighting = hint
  47. resharper_built_in_type_reference_style_highlighting = hint
  48. resharper_redundant_base_qualifier_highlighting = warning
  49. resharper_suggest_var_or_type_built_in_types_highlighting = hint
  50. resharper_suggest_var_or_type_elsewhere_highlighting = hint
  51. resharper_suggest_var_or_type_simple_types_highlighting = hint
  52. resharper_web_config_module_not_resolved_highlighting = warning
  53. resharper_web_config_type_not_resolved_highlighting = warning
  54. resharper_web_config_wrong_module_highlighting = warning
  55. [*]
  56. charset = utf-8
  57. end_of_line = crlf
  58. trim_trailing_whitespace = false
  59. insert_final_newline = false
  60. indent_style = space
  61. indent_size = 4
  62. [{*.har,*.inputactions,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config}]
  63. indent_style = space
  64. indent_size = 2
  65. [{*.yaml,*.yml}]
  66. indent_style = space
  67. indent_size = 2
  68. [{tsconfig.app.json,tsconfig.e2e.json,tsconfig.json,tsconfig.lib.json,tsconfig.spec.json}]
  69. indent_style = space
  70. indent_size = 2
  71. [*.{appxmanifest,asax,ascx,aspx,axaml,build,cg,cginc,compute,cs,cshtml,dtd,hlsl,hlsli,hlslinc,master,nuspec,paml,razor,resw,resx,shader,skin,usf,ush,vb,xaml,xamlx,xoml,xsd}]
  72. indent_style = space
  73. indent_size = 4
  74. tab_width = 4