Skip to content

Commit 234a3ad

Browse files
committed
Submodule update; added editorconfig; appveyor image
1 parent 0daadff commit 234a3ad

File tree

4 files changed

+166
-3
lines changed

4 files changed

+166
-3
lines changed

.editorconfig

+157
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
[*.{cs,vb}]
2+
#### Naming styles ####
3+
4+
# fields
5+
6+
dotnet_naming_rule.private_members_with_underscore.symbols = private_fields
7+
dotnet_naming_rule.private_members_with_underscore.style = prefix_underscore
8+
dotnet_naming_rule.private_members_with_underscore.severity = suggestion
9+
10+
dotnet_naming_symbols.private_fields.applicable_kinds = field
11+
dotnet_naming_symbols.private_fields.applicable_accessibilities = private
12+
13+
dotnet_naming_style.prefix_underscore.capitalization = camel_case
14+
dotnet_naming_style.prefix_underscore.required_prefix = _
15+
16+
17+
# Naming rules
18+
19+
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
20+
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
21+
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
22+
23+
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
24+
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
25+
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
26+
27+
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
28+
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
29+
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
30+
31+
# Symbol specifications
32+
33+
dotnet_naming_symbols.interface.applicable_kinds = interface
34+
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
35+
dotnet_naming_symbols.interface.required_modifiers =
36+
37+
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
38+
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
39+
dotnet_naming_symbols.types.required_modifiers =
40+
41+
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
42+
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
43+
dotnet_naming_symbols.non_field_members.required_modifiers =
44+
45+
# Naming styles
46+
47+
dotnet_naming_style.begins_with_i.required_prefix = I
48+
dotnet_naming_style.begins_with_i.required_suffix =
49+
dotnet_naming_style.begins_with_i.word_separator =
50+
dotnet_naming_style.begins_with_i.capitalization = pascal_case
51+
52+
dotnet_naming_style.pascal_case.required_prefix =
53+
dotnet_naming_style.pascal_case.required_suffix =
54+
dotnet_naming_style.pascal_case.word_separator =
55+
dotnet_naming_style.pascal_case.capitalization = pascal_case
56+
57+
dotnet_naming_style.pascal_case.required_prefix =
58+
dotnet_naming_style.pascal_case.required_suffix =
59+
dotnet_naming_style.pascal_case.word_separator =
60+
dotnet_naming_style.pascal_case.capitalization = pascal_case
61+
dotnet_style_operator_placement_when_wrapping = beginning_of_line
62+
tab_width = 4
63+
indent_size = 4
64+
end_of_line = crlf
65+
dotnet_style_coalesce_expression = true:suggestion
66+
dotnet_style_null_propagation = true:suggestion
67+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
68+
dotnet_style_prefer_auto_properties = true:silent
69+
dotnet_style_object_initializer = true:suggestion
70+
dotnet_style_collection_initializer = true:suggestion
71+
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
72+
dotnet_style_prefer_conditional_expression_over_assignment = false:suggestion
73+
dotnet_style_prefer_conditional_expression_over_return = false:suggestion
74+
dotnet_style_explicit_tuple_names = true:suggestion
75+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
76+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
77+
dotnet_style_prefer_compound_assignment = true:suggestion
78+
dotnet_style_prefer_simplified_interpolation = true:suggestion
79+
dotnet_style_namespace_match_folder = true:suggestion
80+
dotnet_style_readonly_field = true:suggestion
81+
dotnet_style_predefined_type_for_locals_parameters_members = true:silent
82+
dotnet_style_predefined_type_for_member_access = true:silent
83+
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
84+
dotnet_style_allow_multiple_blank_lines_experimental = true:silent
85+
dotnet_style_allow_statement_immediately_after_block_experimental = true:silent
86+
dotnet_code_quality_unused_parameters = all:suggestion
87+
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
88+
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
89+
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
90+
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
91+
dotnet_style_qualification_for_field = false:suggestion
92+
dotnet_style_qualification_for_property = false:suggestion
93+
dotnet_style_qualification_for_method = false:suggestion
94+
dotnet_style_qualification_for_event = false:suggestion
95+
96+
# For variables
97+
dotnet_naming_symbols.local_symbol.applicable_kinds = local
98+
dotnet_naming_style.local_style.capitalization = camel_case
99+
dotnet_naming_rule.variables_are_camel_case.severity = suggestion
100+
dotnet_naming_rule.variables_are_camel_case.symbols = local_symbol
101+
dotnet_naming_rule.variables_are_camel_case.style = local_style
102+
103+
# for parameters
104+
dotnet_naming_symbols.parameter_symbol.applicable_kinds = parameter
105+
dotnet_naming_style.parameter_style.capitalization = camel_case
106+
dotnet_naming_rule.parameters_are_camel_case.severity = suggestion
107+
dotnet_naming_rule.parameters_are_camel_case.symbols = parameter_symbol
108+
dotnet_naming_rule.parameters_are_camel_case.style = local_style
109+
110+
[*.cs]
111+
csharp_indent_labels = no_change
112+
csharp_using_directive_placement = outside_namespace:silent
113+
csharp_prefer_simple_using_statement = true:suggestion
114+
csharp_prefer_braces = true:suggestion
115+
csharp_style_namespace_declarations = block_scoped:silent
116+
csharp_style_prefer_method_group_conversion = true:silent
117+
csharp_style_prefer_top_level_statements = true:suggestion
118+
csharp_style_expression_bodied_methods = false:silent
119+
csharp_style_expression_bodied_constructors = false:silent
120+
csharp_style_expression_bodied_operators = false:silent
121+
csharp_style_expression_bodied_properties = true:suggestion
122+
csharp_style_expression_bodied_indexers = true:suggestion
123+
csharp_style_expression_bodied_accessors = true:suggestion
124+
csharp_style_expression_bodied_lambdas = true:suggestion
125+
csharp_style_expression_bodied_local_functions = false:silent
126+
csharp_style_throw_expression = true:suggestion
127+
csharp_style_prefer_null_check_over_type_check = true:suggestion
128+
csharp_prefer_simple_default_expression = true:suggestion
129+
csharp_style_prefer_local_over_anonymous_function = true:suggestion
130+
csharp_style_prefer_index_operator = true:suggestion
131+
csharp_style_prefer_range_operator = true:suggestion
132+
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
133+
csharp_style_prefer_tuple_swap = false:suggestion
134+
csharp_style_prefer_utf8_string_literals = true:suggestion
135+
csharp_style_inlined_variable_declaration = true:suggestion
136+
csharp_style_deconstructed_variable_declaration = true:suggestion
137+
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
138+
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
139+
csharp_prefer_static_local_function = true:suggestion
140+
csharp_style_prefer_readonly_struct = true:suggestion
141+
csharp_style_prefer_readonly_struct_member = true:suggestion
142+
csharp_style_allow_embedded_statements_on_same_line_experimental = true:silent
143+
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent
144+
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:silent
145+
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true:silent
146+
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true:silent
147+
csharp_style_conditional_delegate_call = true:suggestion
148+
csharp_style_prefer_switch_expression = true:suggestion
149+
csharp_style_prefer_pattern_matching = true:suggestion
150+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
151+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
152+
csharp_style_prefer_not_pattern = true:suggestion
153+
csharp_style_prefer_extended_property_pattern = true:suggestion
154+
csharp_style_var_for_built_in_types = true:suggestion
155+
csharp_style_var_when_type_is_apparent = true:suggestion
156+
csharp_style_var_elsewhere = true:suggestion
157+
csharp_style_prefer_primary_constructors = true:suggestion

SessionSeven.sln

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
4-
VisualStudioVersion = 14.0.25420.1
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.8.34309.116
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{17C1FC09-18F9-4052-9728-BFAFCCF92DE8}"
77
EndProject
@@ -27,6 +27,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "STACK.TestBase", "lib\STACK
2727
EndProject
2828
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ContentAnalyzer", "lib\STACK\src\Tools\ContentAnalyzer\ContentAnalyzer.csproj", "{A72AE2E9-8318-4DDC-AE53-D868C1B77BE6}"
2929
EndProject
30+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{2A7AFB78-32C7-4A62-9DDA-1A6C628ACCB0}"
31+
ProjectSection(SolutionItems) = preProject
32+
.editorconfig = .editorconfig
33+
EndProjectSection
34+
EndProject
3035
Global
3136
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3237
Debug|x86 = Debug|x86

appveyor.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
version: 1.0.{build}
2+
image: Visual Studio 2019
23
install:
34
- cmd: git submodule update --init --recursive
45
build:

lib/STACK

Submodule STACK updated 229 files

0 commit comments

Comments
 (0)