-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.editorconfig
153 lines (133 loc) · 6.33 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
# top-most EditorConfig file
root=true
[*]
#charset=utf-8
#end_of_line=crlf
insert_final_newline=true
indent_style=space
indent_size=4
tab_width=4
trim_trailing_whitespace=true
max_line_length=none
[*.md]
trim_trailing_whitespace=false
[*.{cs,razor,cshtml}]
# Microsoft .NET properties
csharp_new_line_before_members_in_object_initializers=false
csharp_new_line_before_open_brace=types,local_functions,methods
csharp_preferred_modifier_order=public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion
#csharp_style_var_elsewhere=false:suggestion
#csharp_style_var_for_built_in_types=false:suggestion
#csharp_style_var_when_type_is_apparent=false:suggestion
csharp_style_var_for_built_in_types=true:silent
csharp_style_var_when_type_is_apparent=true:silent
csharp_style_var_elsewhere=true:silent
csharp_preserve_single_line_blocks=true
csharp_style_allow_embedded_statements_on_same_line_experimental=true:warning
dotnet_naming_rule.constants_rule.severity=warning
dotnet_naming_rule.constants_rule.style=all_upper_style
dotnet_naming_rule.constants_rule.symbols=constants_symbols
dotnet_naming_rule.private_constants_rule.severity=warning
dotnet_naming_rule.private_constants_rule.style=all_upper_style
dotnet_naming_rule.private_constants_rule.symbols=private_constants_symbols
dotnet_naming_rule.static_readonly_rule.severity=warning
dotnet_naming_rule.static_readonly_rule.style=all_upper_style
dotnet_naming_rule.static_readonly_rule.symbols=static_readonly_symbols
dotnet_naming_style.all_upper_style.capitalization=all_upper
dotnet_naming_style.all_upper_style.word_separator=_
dotnet_naming_symbols.constants_symbols.applicable_accessibilities=public,internal,protected,protected_internal,private_protected
dotnet_naming_symbols.constants_symbols.applicable_kinds=field
dotnet_naming_symbols.constants_symbols.required_modifiers=const
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_naming_symbols.static_readonly_symbols.applicable_accessibilities=public,internal,protected,protected_internal,private_protected
dotnet_naming_symbols.static_readonly_symbols.applicable_kinds=field
dotnet_naming_symbols.static_readonly_symbols.required_modifiers=static,readonly
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
# Sort using and Import directives with System.* appearing first
dotnet_sort_system_directives_first=true
dotnet_separate_import_directive_groups=false
dotnet_style_prefer_conditional_expression_over_return=false:silent
dotnet_style_allow_multiple_blank_lines_experimental=false:warning
# VSTHRD100: Avoid async void methods
dotnet_diagnostic.VSTHRD100.severity=warning
dotnet_diagnostic.VSTHRD101.severity=warning
# ReSharper properties
resharper_align_first_arg_by_paren=true
resharper_align_linq_query=true
resharper_align_multiline_calls_chain=true
resharper_align_multiline_expression=true
resharper_align_multiline_extends_list=true
resharper_align_multiline_for_stmt=true
resharper_align_multiline_parameter=true
resharper_align_multiple_declaration=true
resharper_align_multline_type_parameter_constrains=true
resharper_align_multline_type_parameter_list=true
resharper_align_tuple_components=true
resharper_autodetect_indent_settings=true
resharper_csharp_naming_rule.constants=AA_BB
resharper_csharp_naming_rule.static_readonly=AA_BB, AaBb
resharper_csharp_stick_comment=false
resharper_empty_block_style=together_same_line
resharper_enforce_line_ending_style=true
resharper_indent_nested_foreach_stmt=true
resharper_indent_nested_for_stmt=true
resharper_indent_nested_while_stmt=true
resharper_outdent_commas=true
resharper_place_accessorholder_attribute_on_same_line=false
resharper_place_field_attribute_on_same_line=false
resharper_trailing_comma_in_multiline_lists=true
resharper_use_indent_from_vs=false
# 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_comment_typo_highlighting=hint
resharper_identifier_typo_highlighting=hint
resharper_redundant_base_qualifier_highlighting=warning
resharper_string_literal_typo_highlighting=hint
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
razor_always_use_end_of_line_brace_style=true
resharper_razor_always_use_end_of_line_brace_style=true
html_space_before_self_closing=true
resharper_html_space_before_self_closing=true
space_before_self_closing=true
resharper_space_before_self_closing=true
html_attribute_indent=align_by_first_attribute
resharper_html_attribute_indent=align_by_first_attribute
attribute_indent=align_by_first_attribute
resharper_attribute_indent=align_by_first_attribute
[{*.yaml,*.yml}]
indent_style=space
indent_size=2
tab_width=2
[*.{csproj,sln}]
indent_style=space
indent_size=2
tab_width=2
[{*.har,*.inputactions,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config}]
indent_style=space
indent_size=2
tab_width=2
[*.{appxmanifest,asax,ascx,aspx,build,dtd,fs,fsi,fsscript,fsx,master,ml,mli,nuspec,resw,resx,skin,vb,xaml,xamlx,xoml,xsd}]
indent_style=space
indent_size=4
tab_width=4