65 lines
2.7 KiB
INI
65 lines
2.7 KiB
INI
[*]
|
|
charset = utf-8
|
|
end_of_line = crlf
|
|
trim_trailing_whitespace = false
|
|
insert_final_newline = false
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
# Microsoft .NET properties
|
|
csharp_new_line_before_members_in_object_initializers = false
|
|
csharp_preferred_modifier_order = public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion
|
|
csharp_prefer_braces = true:hint
|
|
csharp_space_after_cast = false
|
|
csharp_style_var_elsewhere = false:error
|
|
csharp_style_var_for_built_in_types = false:error
|
|
csharp_style_var_when_type_is_apparent = true:error
|
|
dotnet_style_predefined_type_for_locals_parameters_members = true:hint
|
|
dotnet_style_predefined_type_for_member_access = true:hint
|
|
dotnet_style_qualification_for_event = false:hint
|
|
dotnet_style_qualification_for_field = false:hint
|
|
dotnet_style_qualification_for_method = false:hint
|
|
dotnet_style_qualification_for_property = false:hint
|
|
dotnet_style_require_accessibility_modifiers = for_non_interface_members:hint
|
|
|
|
# ReSharper properties
|
|
resharper_align_linq_query = true
|
|
resharper_align_multiline_binary_expressions_chain = false
|
|
resharper_align_multline_type_parameter_constrains = true
|
|
resharper_align_multline_type_parameter_list = true
|
|
resharper_apply_on_completion = true
|
|
resharper_autodetect_indent_settings = true
|
|
resharper_braces_redundant = true
|
|
resharper_constructor_or_destructor_body = expression_body
|
|
resharper_csharp_max_line_length = 200
|
|
resharper_csharp_stick_comment = false
|
|
resharper_indent_type_constraints = false
|
|
resharper_local_function_body = expression_body
|
|
resharper_method_or_operator_body = expression_body
|
|
resharper_parentheses_non_obvious_operations = equality
|
|
resharper_place_accessorholder_attribute_on_same_line = False
|
|
resharper_space_within_single_line_array_initializer_braces = true
|
|
resharper_use_indent_from_vs = false
|
|
|
|
# ReSharper inspection severities
|
|
resharper_arrange_constructor_or_destructor_body_highlighting = hint
|
|
resharper_arrange_local_function_body_highlighting = hint
|
|
resharper_arrange_method_or_operator_body_highlighting = hint
|
|
resharper_arrange_missing_parentheses_highlighting = hint
|
|
resharper_redundant_base_qualifier_highlighting = warning
|
|
resharper_web_config_module_not_resolved_highlighting = warning
|
|
resharper_web_config_type_not_resolved_highlighting = warning
|
|
resharper_web_config_wrong_module_highlighting = warning
|
|
|
|
[{*.yml,*.yaml}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[{.eslintrc,.babelrc,.stylelintrc,jest.config,bowerrc,*.jsb3,*.jsb2,*.json}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.{appxmanifest,asax,ascx,aspx,build,cs,cshtml,dtd,fs,fsi,fsscript,fsx,master,ml,mli,nuspec,razor,resw,resx,skin,vb,xaml,xamlx,xoml,xsd}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
tab_width = 4
|