Skip to content

Commit 9399c61

Browse files
authored
Merge branch 'develop' into Burgyn-patch-1
2 parents 6470dea + 8c0180a commit 9399c61

File tree

823 files changed

+31359
-20293
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

823 files changed

+31359
-20293
lines changed

.circleci/config.yml

+14-12
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
11
version: 2.1
22
orbs:
3-
queue: eddiewebb/queue@2.2.1
3+
queue: eddiewebb/queue@3.1.4
44
jobs:
55
build:
66
docker:
7-
- image: mijitt0m/ocelot-build:0.0.9
7+
- image: ocelot2/circleci-build:latest
8+
resource_class: medium+
89
steps:
910
- checkout
10-
- run: dotnet tool restore && dotnet cake
11+
- run: dotnet dev-certs https && dotnet tool restore && dotnet cake
1112
release:
1213
docker:
13-
- image: mijitt0m/ocelot-build:0.0.9
14+
- image: ocelot2/circleci-build:latest
15+
resource_class: medium+
1416
steps:
1517
- checkout
16-
- run: dotnet tool restore && dotnet cake --target=Release
18+
- run: dotnet dev-certs https && dotnet tool restore && dotnet cake --target=Release
1719
workflows:
1820
version: 2
1921
main:
2022
jobs:
21-
- queue/block_workflow:
22-
time: "20"
23-
only-on-branch: main
23+
# - queue/block_workflow:
24+
# time: '20'
25+
# only-on-branch: main
2426
- release:
25-
requires:
26-
- queue/block_workflow
27+
# requires:
28+
# - queue/block_workflow
2729
filters:
2830
branches:
2931
only: main
@@ -33,11 +35,11 @@ workflows:
3335
filters:
3436
branches:
3537
only: develop
36-
pr:
38+
PR:
3739
jobs:
3840
- build:
3941
filters:
4042
branches:
41-
ignore:
43+
ignore:
4244
- main
4345
- develop

.config/dotnet-tools.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"cake.tool": {
6-
"version": "3.0.0",
6+
"version": "4.0.0",
77
"commands": [
88
"dotnet-cake"
99
]
@@ -15,4 +15,4 @@
1515
]
1616
}
1717
}
18-
}
18+
}

.editorconfig

+241-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,246 @@
1+
# Remove the line below if you want to inherit .editorconfig settings from higher directories
12
root = true
23

3-
[*]
4-
end_of_line = lf
5-
insert_final_newline = true
4+
# XML files
5+
[*.xml]
6+
indent_style = space
7+
indent_size = 2
8+
9+
# C# files
10+
[*.cs]
611

7-
[*.cs]
8-
end_of_line = lf
12+
#### Core EditorConfig Options ####
13+
14+
# Indentation and spacing
15+
indent_size = 4
916
indent_style = space
17+
tab_width = 4
18+
19+
# New line preferences
20+
end_of_line = crlf
21+
insert_final_newline = true
22+
23+
#### .NET Coding Conventions ####
24+
25+
# Organize usings
26+
dotnet_separate_import_directive_groups = false
27+
dotnet_sort_system_directives_first = false
28+
file_header_template = unset
29+
30+
# this. and Me. preferences
31+
dotnet_style_qualification_for_event = false
32+
dotnet_style_qualification_for_field = false
33+
dotnet_style_qualification_for_method = false
34+
dotnet_style_qualification_for_property = false
35+
36+
# Language keywords vs BCL types preferences
37+
dotnet_style_predefined_type_for_locals_parameters_members = true
38+
dotnet_style_predefined_type_for_member_access = true
39+
40+
# Parentheses preferences
41+
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity
42+
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity
43+
dotnet_style_parentheses_in_other_operators = never_if_unnecessary
44+
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity
45+
46+
# Modifier preferences
47+
dotnet_style_require_accessibility_modifiers = for_non_interface_members
48+
49+
# Expression-level preferences
50+
dotnet_style_coalesce_expression = true
51+
dotnet_style_collection_initializer = true
52+
dotnet_style_explicit_tuple_names = true
53+
dotnet_style_namespace_match_folder = true
54+
dotnet_style_null_propagation = true
55+
dotnet_style_object_initializer = true
56+
dotnet_style_operator_placement_when_wrapping = beginning_of_line
57+
dotnet_style_prefer_auto_properties = true
58+
dotnet_style_prefer_collection_expression = false:suggestion
59+
dotnet_style_prefer_compound_assignment = true
60+
dotnet_style_prefer_conditional_expression_over_assignment = true
61+
dotnet_style_prefer_conditional_expression_over_return = true
62+
dotnet_style_prefer_foreach_explicit_cast_in_source = when_strongly_typed
63+
dotnet_style_prefer_inferred_anonymous_type_member_names = true
64+
dotnet_style_prefer_inferred_tuple_names = true
65+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true
66+
dotnet_style_prefer_simplified_boolean_expressions = true
67+
dotnet_style_prefer_simplified_interpolation = true
68+
69+
# Field preferences
70+
dotnet_style_readonly_field = true
71+
72+
# Parameter preferences
73+
dotnet_code_quality_unused_parameters = all
74+
75+
# Suppression preferences
76+
dotnet_remove_unnecessary_suppression_exclusions = none
77+
78+
# New line preferences
79+
dotnet_style_allow_multiple_blank_lines_experimental = true
80+
dotnet_style_allow_statement_immediately_after_block_experimental = true
81+
82+
#### C# Coding Conventions ####
83+
84+
# var preferences
85+
csharp_style_var_elsewhere = false
86+
csharp_style_var_for_built_in_types = false
87+
csharp_style_var_when_type_is_apparent = false
88+
89+
# Expression-bodied members
90+
csharp_style_expression_bodied_accessors = true:silent
91+
csharp_style_expression_bodied_constructors = false:silent
92+
csharp_style_expression_bodied_indexers = true:silent
93+
csharp_style_expression_bodied_lambdas = true:silent
94+
csharp_style_expression_bodied_local_functions = false:silent
95+
csharp_style_expression_bodied_methods = false:silent
96+
csharp_style_expression_bodied_operators = false:silent
97+
csharp_style_expression_bodied_properties = true:silent
98+
99+
# Pattern matching preferences
100+
csharp_style_pattern_matching_over_as_with_null_check = true
101+
csharp_style_pattern_matching_over_is_with_cast_check = true
102+
csharp_style_prefer_extended_property_pattern = true
103+
csharp_style_prefer_not_pattern = true
104+
csharp_style_prefer_pattern_matching = true
105+
csharp_style_prefer_switch_expression = true
106+
107+
# Null-checking preferences
108+
csharp_style_conditional_delegate_call = true
109+
110+
# Modifier preferences
111+
csharp_prefer_static_local_function = true
112+
csharp_preferred_modifier_order = public,private,protected,internal,file,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,required,volatile,async
113+
csharp_style_prefer_readonly_struct = true
114+
csharp_style_prefer_readonly_struct_member = true
115+
116+
# Code-block preferences
117+
csharp_prefer_braces = true:silent
118+
csharp_prefer_simple_using_statement = true:suggestion
119+
csharp_style_namespace_declarations = block_scoped:silent
120+
csharp_style_prefer_method_group_conversion = true:silent
121+
csharp_style_prefer_primary_constructors = false:suggestion
122+
csharp_style_prefer_top_level_statements = true:silent
123+
124+
# Expression-level preferences
125+
csharp_prefer_simple_default_expression = true
126+
csharp_style_deconstructed_variable_declaration = true
127+
csharp_style_implicit_object_creation_when_type_is_apparent = true
128+
csharp_style_inlined_variable_declaration = true
129+
csharp_style_prefer_index_operator = true
130+
csharp_style_prefer_local_over_anonymous_function = true
131+
csharp_style_prefer_null_check_over_type_check = true
132+
csharp_style_prefer_range_operator = true
133+
csharp_style_prefer_tuple_swap = true
134+
csharp_style_prefer_utf8_string_literals = true
135+
csharp_style_throw_expression = true
136+
csharp_style_unused_value_assignment_preference = discard_variable
137+
csharp_style_unused_value_expression_statement_preference = discard_variable
138+
139+
# 'using' directive preferences
140+
csharp_using_directive_placement = outside_namespace:silent
141+
142+
# New line preferences
143+
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true
144+
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true
145+
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true
146+
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true
147+
csharp_style_allow_embedded_statements_on_same_line_experimental = true
148+
149+
#### C# Formatting Rules ####
150+
151+
# New line preferences
152+
csharp_new_line_before_catch = true
153+
csharp_new_line_before_else = true
154+
csharp_new_line_before_finally = true
155+
csharp_new_line_before_members_in_anonymous_types = true
156+
csharp_new_line_before_members_in_object_initializers = true
157+
csharp_new_line_before_open_brace = all
158+
csharp_new_line_between_query_expression_clauses = true
159+
160+
# Indentation preferences
161+
csharp_indent_block_contents = true
162+
csharp_indent_braces = false
163+
csharp_indent_case_contents = true
164+
csharp_indent_case_contents_when_block = true
165+
csharp_indent_labels = one_less_than_current
166+
csharp_indent_switch_labels = true
167+
168+
# Space preferences
169+
csharp_space_after_cast = false
170+
csharp_space_after_colon_in_inheritance_clause = true
171+
csharp_space_after_comma = true
172+
csharp_space_after_dot = false
173+
csharp_space_after_keywords_in_control_flow_statements = true
174+
csharp_space_after_semicolon_in_for_statement = true
175+
csharp_space_around_binary_operators = before_and_after
176+
csharp_space_around_declaration_statements = false
177+
csharp_space_before_colon_in_inheritance_clause = true
178+
csharp_space_before_comma = false
179+
csharp_space_before_dot = false
180+
csharp_space_before_open_square_brackets = false
181+
csharp_space_before_semicolon_in_for_statement = false
182+
csharp_space_between_empty_square_brackets = false
183+
csharp_space_between_method_call_empty_parameter_list_parentheses = false
184+
csharp_space_between_method_call_name_and_opening_parenthesis = false
185+
csharp_space_between_method_call_parameter_list_parentheses = false
186+
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
187+
csharp_space_between_method_declaration_name_and_open_parenthesis = false
188+
csharp_space_between_method_declaration_parameter_list_parentheses = false
189+
csharp_space_between_parentheses = false
190+
csharp_space_between_square_brackets = false
191+
192+
# Wrapping preferences
193+
csharp_preserve_single_line_blocks = true
194+
csharp_preserve_single_line_statements = true
195+
196+
#### Naming styles ####
197+
198+
# Naming rules
199+
200+
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
201+
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
202+
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
203+
204+
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
205+
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
206+
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
207+
208+
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
209+
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
210+
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
211+
212+
# Symbol specifications
213+
214+
dotnet_naming_symbols.interface.applicable_kinds = interface
215+
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
216+
dotnet_naming_symbols.interface.required_modifiers =
217+
218+
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
219+
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
220+
dotnet_naming_symbols.types.required_modifiers =
221+
222+
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
223+
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
224+
dotnet_naming_symbols.non_field_members.required_modifiers =
225+
226+
# Naming styles
227+
228+
dotnet_naming_style.pascal_case.required_prefix =
229+
dotnet_naming_style.pascal_case.required_suffix =
230+
dotnet_naming_style.pascal_case.word_separator =
231+
dotnet_naming_style.pascal_case.capitalization = pascal_case
232+
233+
dotnet_naming_style.begins_with_i.required_prefix = I
234+
dotnet_naming_style.begins_with_i.required_suffix =
235+
dotnet_naming_style.begins_with_i.word_separator =
236+
dotnet_naming_style.begins_with_i.capitalization = pascal_case
237+
238+
[*.{cs,vb}]
239+
dotnet_style_operator_placement_when_wrapping = beginning_of_line
240+
tab_width = 4
10241
indent_size = 4
242+
end_of_line = crlf
243+
dotnet_style_coalesce_expression = true:suggestion
244+
insert_final_newline = true
245+
dotnet_style_null_propagation = true:suggestion
246+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion

0 commit comments

Comments
 (0)