Skip to content

Commit a2a439e

Browse files
authored
Merge pull request #114 from nutdotnet/100-new-settings
Upgrade to .NET Framework Settings System
2 parents ff6af26 + 381ebaa commit a2a439e

Some content is hidden

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

60 files changed

+9026
-231374
lines changed

WinNUT_V2/.editorconfig

+34-2
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,19 @@ dotnet_naming_style.pascal_case_style.capitalization = pascal_case
5454
# Use PascalCase for constant fields
5555
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
5656
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
57-
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
57+
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
5858
dotnet_naming_symbols.constant_fields.applicable_kinds = field
5959
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
6060
dotnet_naming_symbols.constant_fields.required_modifiers = const
61+
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
62+
dotnet_style_prefer_compound_assignment = true:suggestion
63+
dotnet_style_prefer_simplified_interpolation = true:suggestion
64+
dotnet_style_namespace_match_folder = true:suggestion
65+
dotnet_style_operator_placement_when_wrapping = beginning_of_line
66+
tab_width = 4
67+
end_of_line = crlf
68+
dotnet_style_allow_multiple_blank_lines_experimental = true:silent
69+
dotnet_style_allow_statement_immediately_after_block_experimental = true:silent
6170
###############################
6271
# C# Coding Conventions #
6372
###############################
@@ -101,7 +110,7 @@ csharp_new_line_between_query_expression_clauses = true
101110
# Indentation preferences
102111
csharp_indent_case_contents = true
103112
csharp_indent_switch_labels = true
104-
csharp_indent_labels = flush_left
113+
csharp_indent_labels = one_less_than_current
105114
# Space preferences
106115
csharp_space_after_cast = false
107116
csharp_space_after_keywords_in_control_flow_statements = true
@@ -117,6 +126,29 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false
117126
# Wrapping preferences
118127
csharp_preserve_single_line_statements = true
119128
csharp_preserve_single_line_blocks = true
129+
csharp_using_directive_placement = outside_namespace:silent
130+
csharp_prefer_simple_using_statement = true:suggestion
131+
csharp_style_namespace_declarations = block_scoped:silent
132+
csharp_style_prefer_method_group_conversion = true:silent
133+
csharp_style_prefer_top_level_statements = true:silent
134+
csharp_style_prefer_primary_constructors = true:suggestion
135+
csharp_style_expression_bodied_lambdas = true:silent
136+
csharp_style_expression_bodied_local_functions = false:silent
137+
csharp_style_prefer_null_check_over_type_check = true:suggestion
138+
csharp_style_prefer_local_over_anonymous_function = true:suggestion
139+
csharp_style_prefer_index_operator = true:suggestion
140+
csharp_style_prefer_range_operator = true:suggestion
141+
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
142+
csharp_style_prefer_tuple_swap = true:suggestion
143+
csharp_style_prefer_utf8_string_literals = true:suggestion
144+
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
145+
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
146+
csharp_prefer_static_local_function = true:suggestion
147+
csharp_style_prefer_readonly_struct = true:suggestion
148+
csharp_style_prefer_readonly_struct_member = true:suggestion
149+
csharp_style_allow_embedded_statements_on_same_line_experimental = true:silent
150+
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent
151+
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:silent
120152
###############################
121153
# VB Coding Conventions #
122154
###############################

0 commit comments

Comments
 (0)