PluralKit/.editorconfig

58 lines
2.3 KiB
INI

[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = false
insert_final_newline = false
indent_style = space
indent_size = 4
# Microsoft .NET properties
csharp_preferred_modifier_order = public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion
csharp_space_before_colon_in_inheritance_clause = false
csharp_style_var_elsewhere = true:hint
csharp_style_var_for_built_in_types = true:hint
csharp_style_var_when_type_is_apparent = true:hint
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:warning
dotnet_style_qualification_for_field = false:warning
dotnet_style_qualification_for_method = false:warning
dotnet_style_qualification_for_property = false:warning
dotnet_style_require_accessibility_modifiers = for_non_interface_members:hint
# ReSharper properties
resharper_align_multiline_parameter = true
resharper_autodetect_indent_settings = true
resharper_blank_lines_between_using_groups = 1
resharper_braces_for_using = required_for_multiline
resharper_csharp_stick_comment = false
resharper_empty_block_style = together_same_line
resharper_keep_existing_attribute_arrangement = true
resharper_keep_existing_initializer_arrangement = false
resharper_local_function_body = expression_body
resharper_method_or_operator_body = expression_body
resharper_place_accessor_with_attrs_holder_on_single_line = true
resharper_place_simple_case_statement_on_same_line = if_owner_is_single_line
resharper_space_before_type_parameter_constraint_colon = false
resharper_use_indent_from_vs = false
resharper_wrap_before_first_type_parameter_constraint = true
# ReSharper inspection severities:
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
[*.{appxmanifest,asax,ascx,aspx,build,config,cs,cshtml,csproj,dbml,discomap,dtd,fs,fsi,fsscript,fsx,htm,html,jsproj,lsproj,master,ml,mli,njsproj,nuspec,proj,props,razor,resw,resx,skin,StyleCop,targets,tasks,vb,vbproj,xaml,xamlx,xml,xoml,xsd}]
indent_style = space
indent_size = 4
tab_width = 4
[*.py]
indent_style = space
indent_size = 4
tab_width = 4