1+
2+ [* .{cs,vb} ]
3+ # ### Naming styles ####
4+
5+ # Naming rules
6+
7+ dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
8+ dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
9+ dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
10+
11+ dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
12+ dotnet_naming_rule.types_should_be_pascal_case.symbols = types
13+ dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
14+
15+ dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
16+ dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
17+ dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
18+
19+ # Symbol specifications
20+
21+ dotnet_naming_symbols.interface.applicable_kinds = interface
22+ dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
23+ dotnet_naming_symbols.interface.required_modifiers =
24+
25+ dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
26+ dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
27+ dotnet_naming_symbols.types.required_modifiers =
28+
29+ dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
30+ dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
31+ dotnet_naming_symbols.non_field_members.required_modifiers =
32+
33+ # Naming styles
34+
35+ dotnet_naming_style.begins_with_i.required_prefix = I
36+ dotnet_naming_style.begins_with_i.required_suffix =
37+ dotnet_naming_style.begins_with_i.word_separator =
38+ dotnet_naming_style.begins_with_i.capitalization = pascal_case
39+
40+ dotnet_naming_style.pascal_case.required_prefix =
41+ dotnet_naming_style.pascal_case.required_suffix =
42+ dotnet_naming_style.pascal_case.word_separator =
43+ dotnet_naming_style.pascal_case.capitalization = pascal_case
44+
45+ dotnet_naming_style.pascal_case.required_prefix =
46+ dotnet_naming_style.pascal_case.required_suffix =
47+ dotnet_naming_style.pascal_case.word_separator =
48+ dotnet_naming_style.pascal_case.capitalization = pascal_case
49+ dotnet_style_operator_placement_when_wrapping = beginning_of_line
50+ tab_width = 4
51+ indent_size = 4
52+ end_of_line = crlf
53+ dotnet_style_coalesce_expression = true :suggestion
54+ dotnet_style_null_propagation = true :suggestion
55+ dotnet_style_prefer_is_null_check_over_reference_equality_method = true :suggestion
56+ dotnet_style_prefer_auto_properties = true :silent
57+ dotnet_style_object_initializer = true :suggestion
58+ dotnet_style_collection_initializer = true :suggestion
59+ dotnet_style_prefer_simplified_boolean_expressions = true :suggestion
60+ dotnet_style_prefer_conditional_expression_over_assignment = true :silent
61+ dotnet_style_prefer_conditional_expression_over_return = true :silent
62+ dotnet_style_explicit_tuple_names = true :suggestion
63+ dotnet_style_prefer_inferred_tuple_names = true :suggestion
64+ dotnet_style_prefer_inferred_anonymous_type_member_names = true :suggestion
65+ dotnet_style_prefer_compound_assignment = true :suggestion
66+ dotnet_style_prefer_simplified_interpolation = true :suggestion
67+ dotnet_style_namespace_match_folder = true :suggestion
68+ dotnet_style_readonly_field = true :suggestion
69+
70+ [* .cs ]
71+ csharp_indent_labels = one_less_than_current
72+ csharp_space_around_binary_operators = before_and_after
73+ csharp_using_directive_placement = outside_namespace:silent
74+ csharp_prefer_simple_using_statement = true :suggestion
75+ csharp_prefer_braces = true :silent
76+ csharp_style_namespace_declarations = block_scoped:silent
77+ csharp_style_prefer_method_group_conversion = true :silent
78+ csharp_style_prefer_top_level_statements = true :silent
79+ csharp_style_expression_bodied_methods = false :silent
80+ csharp_style_expression_bodied_constructors = false :silent
81+ csharp_style_expression_bodied_operators = false :silent
82+ csharp_style_expression_bodied_properties = true :silent
83+ csharp_style_expression_bodied_indexers = true :silent
84+ csharp_style_expression_bodied_accessors = true :silent
85+ csharp_style_expression_bodied_lambdas = true :silent
86+ csharp_style_expression_bodied_local_functions = false :silent
87+ csharp_style_throw_expression = true :suggestion
88+ csharp_style_prefer_null_check_over_type_check = true :suggestion
89+ csharp_prefer_simple_default_expression = true :suggestion
90+ csharp_style_prefer_local_over_anonymous_function = true :suggestion
91+ csharp_style_prefer_index_operator = true :suggestion
92+ csharp_style_prefer_range_operator = true :suggestion
93+ csharp_style_implicit_object_creation_when_type_is_apparent = true :suggestion
94+ csharp_style_prefer_tuple_swap = true :suggestion
95+ csharp_style_prefer_utf8_string_literals = true :suggestion
96+ csharp_style_inlined_variable_declaration = true :suggestion
97+ csharp_style_deconstructed_variable_declaration = true :suggestion
98+ csharp_style_unused_value_assignment_preference = discard_variable:suggestion
99+ csharp_style_unused_value_expression_statement_preference = discard_variable:silent
100+
101+ file_header_template = Copyright © 2023 -Present The Serverless Workflow Specification Authors\n\nLicensed under the Apache License, Version 2 .0 (the " License" ),\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an " AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.
0 commit comments