-
Notifications
You must be signed in to change notification settings - Fork 18
/
.editorconfig
97 lines (86 loc) · 3.89 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
root=true
# editorconfig.org
[*]
indent_style=space
end_of_line=crlf
charset=utf-8
trim_trailing_whitespace=true
insert_final_newline=true
indent_size=2
# ReSharper properties
resharper_braces_for_for=required
resharper_braces_for_foreach=required
resharper_braces_for_ifelse=required_for_multiline
resharper_braces_for_while=required
resharper_braces_redundant=false
resharper_csharp_wrap_arguments_style=chop_if_long
resharper_csharp_wrap_lines=false
resharper_csharp_wrap_parameters_style=chop_if_long
resharper_enforce_line_ending_style=true
resharper_for_built_in_types=use_var_when_evident
resharper_space_before_foreach_parentheses=true
resharper_space_before_if_parentheses=true
resharper_space_within_single_line_array_initializer_braces=true
resharper_use_indent_from_vs=false
resharper_wrap_after_declaration_lpar=true
# Microsoft .NET properties
csharp_indent_braces=false
csharp_new_line_before_members_in_object_initializers=false
csharp_new_line_before_open_brace=all
csharp_preferred_modifier_order=public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion
csharp_space_after_keywords_in_control_flow_statements=true
csharp_style_namespace_declarations = file_scoped:warning
csharp_style_var_for_built_in_types=false:suggestion
csharp_style_var_when_type_is_apparent=true:suggestion
dotnet_naming_rule.private_constants_rule.severity=warning
dotnet_naming_rule.private_constants_rule.style=attribute_upper_camel_case_style
dotnet_naming_rule.private_constants_rule.symbols=private_constants_symbols
dotnet_naming_style.attribute_upper_camel_case_style.capitalization=pascal_case
dotnet_naming_style.attribute_upper_camel_case_style.required_prefix=Attribute
dotnet_naming_symbols.private_constants_symbols.applicable_accessibilities=private
dotnet_naming_symbols.private_constants_symbols.applicable_kinds=field
dotnet_naming_symbols.private_constants_symbols.required_modifiers=const
dotnet_style_namespace_match_folder=false
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_ca1031_highlighting=suggestion
resharper_ca1308_highlighting=none
resharper_ca2007_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
resharper_web_config_module_not_resolved_highlighting=warning
resharper_web_config_type_not_resolved_highlighting=warning
resharper_web_config_wrong_module_highlighting=warning
[*.cs]
indent_size=4
[*.{csproj,json,props,ruleset,targets}]
indent_size = 2
[*.ps1]
indent_size=4
[*.lock]
end_of_line=lf
[*.sln]
indent_style=tab
[*.{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
[*.sh]
end_of_line=lf