2024-05-01 10:31:55 -04:00
|
|
|
[*]
|
2023-07-12 17:40:44 +02:00
|
|
|
charset = utf-8-bom
|
|
|
|
end_of_line = crlf
|
|
|
|
trim_trailing_whitespace = false
|
|
|
|
insert_final_newline = false
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
|
|
|
# Microsoft .NET properties
|
2024-05-01 10:31:55 -04:00
|
|
|
csharp_style_namespace_declarations = file_scoped:error
|
2023-07-12 17:40:44 +02:00
|
|
|
csharp_new_line_before_members_in_object_initializers = false
|
2023-07-16 19:21:03 +02:00
|
|
|
csharp_preferred_modifier_order = public, private, protected, internal, file, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:warning
|
2023-07-12 17:40:44 +02:00
|
|
|
csharp_style_prefer_utf8_string_literals = true:suggestion
|
|
|
|
csharp_style_var_elsewhere = true:suggestion
|
2023-07-16 19:21:03 +02:00
|
|
|
csharp_style_var_for_built_in_types = true:warning
|
|
|
|
csharp_style_var_when_type_is_apparent = true:warning
|
2023-07-12 17:40:44 +02:00
|
|
|
dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
|
|
|
|
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
|
|
|
|
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
|
|
|
|
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
|
|
|
|
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
|
|
|
|
dotnet_style_predefined_type_for_member_access = true:suggestion
|
|
|
|
dotnet_style_qualification_for_event = false:suggestion
|
|
|
|
dotnet_style_qualification_for_field = false:suggestion
|
|
|
|
dotnet_style_qualification_for_method = false:suggestion
|
|
|
|
dotnet_style_qualification_for_property = false:suggestion
|
|
|
|
dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
|
|
|
|
|
|
|
|
# ReSharper properties
|
|
|
|
resharper_autodetect_indent_settings = true
|
|
|
|
resharper_enforce_line_ending_style = true
|
|
|
|
resharper_formatter_off_tag = @formatter:off
|
|
|
|
resharper_formatter_on_tag = @formatter:on
|
|
|
|
resharper_formatter_tags_enabled = true
|
|
|
|
resharper_use_indent_from_vs = false
|
|
|
|
resharper_wrap_lines = true
|
|
|
|
|
|
|
|
# ReSharper inspection severities
|
|
|
|
resharper_arrange_redundant_parentheses_highlighting = hint
|
|
|
|
resharper_arrange_this_qualifier_highlighting = hint
|
|
|
|
resharper_arrange_type_member_modifiers_highlighting = hint
|
|
|
|
resharper_arrange_type_modifiers_highlighting = hint
|
|
|
|
resharper_built_in_type_reference_style_for_member_access_highlighting = hint
|
|
|
|
resharper_built_in_type_reference_style_highlighting = hint
|
|
|
|
resharper_redundant_base_qualifier_highlighting = warning
|
|
|
|
resharper_suggest_var_or_type_built_in_types_highlighting = hint
|
|
|
|
resharper_suggest_var_or_type_elsewhere_highlighting = hint
|
|
|
|
resharper_suggest_var_or_type_simple_types_highlighting = hint
|
|
|
|
resharper_web_config_module_not_resolved_highlighting = warning
|
|
|
|
resharper_web_config_type_not_resolved_highlighting = warning
|
|
|
|
resharper_web_config_wrong_module_highlighting = warning
|
|
|
|
|
|
|
|
[*.{appxmanifest,asax,ascx,aspx,axaml,build,c,c++,cc,cginc,compute,cp,cpp,cppm,cs,cshtml,cu,cuh,cxx,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,nuspec,paml,razor,resw,resx,shader,skin,tpp,usf,ush,vb,xaml,xamlx,xoml,xsd}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
tab_width = 4
|