-
-
Notifications
You must be signed in to change notification settings - Fork 55
/
.editorconfig
99 lines (90 loc) · 4.84 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[*]
# ReSharper properties
resharper_align_multiline_binary_expressions_chain = true
resharper_align_multiline_expression_braces = true
resharper_cpp_align_first_arg_by_paren = true
resharper_cpp_align_ternary = align_all
resharper_cpp_anonymous_method_declaration_braces = end_of_line
resharper_cpp_case_block_braces = end_of_line
resharper_cpp_empty_block_style = together
resharper_cpp_indent_invocation_pars = outside_and_inside
resharper_cpp_indent_method_decl_pars = outside_and_inside
resharper_cpp_indent_statement_pars = outside
resharper_cpp_int_align_comments = true
resharper_cpp_invocable_declaration_braces = end_of_line
resharper_cpp_new_line_before_catch = false
resharper_cpp_new_line_before_else = false
resharper_cpp_other_braces = end_of_line
resharper_cpp_outdent_commas = true
resharper_cpp_outdent_dots = true
resharper_cpp_simple_embedded_statement_style = line_break
resharper_cpp_type_declaration_braces = end_of_line
resharper_cpp_wrap_after_declaration_lpar = true
resharper_cpp_wrap_after_invocation_lpar = true
resharper_function_declaration_return_type_style = on_single_line
resharper_function_definition_return_type_style = on_single_line
resharper_int_align_declaration_names = true
resharper_int_align_eq = true
resharper_line_break_before_comma_in_member_initializer_lists = true
resharper_namespace_declaration_braces = end_of_line
resharper_namespace_indentation = none
resharper_new_line_before_while = false
resharper_requires_expression_braces = end_of_line
resharper_simple_case_statement_style = line_break
resharper_toplevel_function_declaration_return_type_style = on_single_line
resharper_toplevel_function_definition_return_type_style = on_single_line
resharper_wrap_before_colon = true
resharper_wrap_ctor_initializer_style = chop_if_long
resharper_wrap_enumeration_style = chop_always
# Microsoft .NET properties
csharp_new_line_before_members_in_object_initializers = false
csharp_preferred_modifier_order = public, private, protected, internal, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async:suggestion
csharp_style_var_elsewhere = true:suggestion
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
dotnet_style_parentheses_in_other_binary_operators = never_if_unnecessary: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 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_cpp_clang_tidy_cppcoreguidelines_pro_type_member_init_highlighting = none
resharper_cpp_functional_style_cast_highlighting = none
resharper_cpp_local_variable_may_be_const_highlighting = none
resharper_cpp_parameter_may_be_const_highlighting = none
resharper_cpp_use_auto_highlighting = none
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
[*.{appxmanifest,axml,build,c,c++,cc,cginc,compute,config,cp,cpp,cshtml,csproj,cu,cuh,cxx,dbml,discomap,dtd,h,hh,hlsl,hlsli,hlslinc,hpp,htm,html,hxx,inc,inl,ino,ipp,jsproj,lsproj,mpp,mq4,mq5,mqh,njsproj,nuspec,proj,props,proto,razor,resw,resx,StyleCop,targets,tasks,tpp,usf,ush,vbproj,xml,xsd}]
indent_style = space
indent_size = space
tab_width = 4
[*.{asax,ascx,aspx,axaml,cs,css,js,jsx,master,paml,skin,ts,tsx,vb,xaml,xamlx,xoml}]
indent_style = space
indent_size = 4
tab_width = 4
[*.{json,resjson}]
indent_style = space
indent_size = 2
tab_width = 2
[*.{cshtml,htm,html,proto,razor}]
indent_style = tab
indent_size = tab
tab_width = 4
[*.{appxmanifest,asax,ascx,aspx,axaml,axml,build,c,c++,cc,cginc,compute,config,cp,cpp,cs,csproj,css,cu,cuh,cxx,dbml,discomap,dtd,h,hh,hlsl,hlsli,hlslinc,hpp,hxx,inc,inl,ino,ipp,js,json,jsproj,jsx,lsproj,master,mpp,mq4,mq5,mqh,njsproj,nuspec,paml,proj,props,resjson,resw,resx,skin,StyleCop,targets,tasks,tpp,ts,tsx,usf,ush,vb,vbproj,xaml,xamlx,xml,xoml,xsd}]
indent_style = space
indent_size = 4
tab_width = 4