615 lines
31 KiB
INI
615 lines
31 KiB
INI
root = true
|
|
# Remove the line below if you want to inherit .editorconfig settings from higher directories
|
|
|
|
# C# files
|
|
[*.cs]
|
|
|
|
#### Core EditorConfig Options ####
|
|
|
|
# Indentation and spacing
|
|
indent_size = 4
|
|
indent_style = space
|
|
tab_width = 4
|
|
|
|
# New line preferences
|
|
end_of_line = crlf
|
|
insert_final_newline = false
|
|
|
|
#### .NET Coding Conventions ####
|
|
|
|
# Organize usings
|
|
dotnet_separate_import_directive_groups = false
|
|
dotnet_sort_system_directives_first = false
|
|
file_header_template =
|
|
|
|
# this. and Me. preferences
|
|
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
|
|
|
|
# Language keywords vs BCL types preferences
|
|
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
|
|
dotnet_style_predefined_type_for_member_access = true:suggestion
|
|
|
|
# Parentheses preferences
|
|
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:none
|
|
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
|
|
dotnet_style_parentheses_in_other_operators = never_if_unnecessary
|
|
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:none
|
|
|
|
# Modifier preferences
|
|
dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
|
|
|
|
# Expression-level preferences
|
|
dotnet_style_coalesce_expression = true
|
|
dotnet_style_collection_initializer = true
|
|
dotnet_style_explicit_tuple_names = true
|
|
dotnet_style_null_propagation = true
|
|
dotnet_style_object_initializer = true
|
|
dotnet_style_operator_placement_when_wrapping = beginning_of_line
|
|
dotnet_style_prefer_auto_properties = true
|
|
dotnet_style_prefer_compound_assignment = true
|
|
dotnet_style_prefer_conditional_expression_over_assignment = true
|
|
dotnet_style_prefer_conditional_expression_over_return = true
|
|
dotnet_style_prefer_inferred_anonymous_type_member_names = true
|
|
dotnet_style_prefer_inferred_tuple_names = true
|
|
dotnet_style_prefer_is_null_check_over_reference_equality_method = true
|
|
dotnet_style_prefer_simplified_boolean_expressions = true
|
|
dotnet_style_prefer_simplified_interpolation = true
|
|
|
|
# Field preferences
|
|
dotnet_style_readonly_field = true
|
|
|
|
# Parameter preferences
|
|
dotnet_code_quality_unused_parameters = all
|
|
|
|
# Suppression preferences
|
|
dotnet_remove_unnecessary_suppression_exclusions = none
|
|
|
|
#### C# Coding Conventions ####
|
|
|
|
# var preferences
|
|
csharp_style_var_elsewhere = true:silent
|
|
csharp_style_var_for_built_in_types = false:silent
|
|
csharp_style_var_when_type_is_apparent = true:silent
|
|
|
|
# Expression-bodied members
|
|
csharp_style_expression_bodied_accessors = true:silent
|
|
csharp_style_expression_bodied_constructors = false:silent
|
|
csharp_style_expression_bodied_indexers = true:silent
|
|
csharp_style_expression_bodied_lambdas = true:silent
|
|
csharp_style_expression_bodied_local_functions = false:silent
|
|
csharp_style_expression_bodied_methods = false:silent
|
|
csharp_style_expression_bodied_operators = false:silent
|
|
csharp_style_expression_bodied_properties = true:silent
|
|
|
|
# Pattern matching preferences
|
|
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
|
|
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
|
|
csharp_style_prefer_not_pattern = true:suggestion
|
|
csharp_style_prefer_pattern_matching = true:silent
|
|
csharp_style_prefer_switch_expression = true:silent
|
|
|
|
# Null-checking preferences
|
|
csharp_style_conditional_delegate_call = true:suggestion
|
|
|
|
# Modifier preferences
|
|
csharp_prefer_static_local_function = true:suggestion
|
|
csharp_preferred_modifier_order = public, private, protected, internal, static, extern, new, virtual, abstract, sealed, override, readonly, unsafe, volatile, async:suggestion
|
|
|
|
# Code-block preferences
|
|
csharp_prefer_braces = when_multiline:silent
|
|
csharp_prefer_simple_using_statement = true:suggestion
|
|
|
|
# Expression-level preferences
|
|
csharp_prefer_simple_default_expression = true:suggestion
|
|
csharp_style_deconstructed_variable_declaration = true:suggestion
|
|
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
|
|
csharp_style_inlined_variable_declaration = true:suggestion
|
|
csharp_style_pattern_local_over_anonymous_function = true
|
|
csharp_style_prefer_index_operator = true:suggestion
|
|
csharp_style_prefer_range_operator = true:suggestion
|
|
csharp_style_throw_expression = true:suggestion
|
|
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
|
|
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
|
|
|
|
# 'using' directive preferences
|
|
csharp_using_directive_placement = outside_namespace:silent
|
|
|
|
#### C# Formatting Rules ####
|
|
|
|
# New line preferences
|
|
csharp_new_line_before_catch = true
|
|
csharp_new_line_before_else = true
|
|
csharp_new_line_before_finally = true
|
|
csharp_new_line_before_members_in_anonymous_types = true
|
|
csharp_new_line_before_members_in_object_initializers = true
|
|
csharp_new_line_before_open_brace = accessors,anonymous_methods,control_blocks,events,indexers,local_functions,methods,properties,types
|
|
csharp_new_line_between_query_expression_clauses = true
|
|
|
|
# Indentation preferences
|
|
csharp_indent_block_contents = true
|
|
csharp_indent_braces = false
|
|
csharp_indent_case_contents = true
|
|
csharp_indent_case_contents_when_block = false
|
|
csharp_indent_labels = one_less_than_current
|
|
csharp_indent_switch_labels = true
|
|
|
|
# Space preferences
|
|
csharp_space_after_cast = false
|
|
csharp_space_after_colon_in_inheritance_clause = true
|
|
csharp_space_after_comma = true
|
|
csharp_space_after_dot = false
|
|
csharp_space_after_keywords_in_control_flow_statements = true
|
|
csharp_space_after_semicolon_in_for_statement = true
|
|
csharp_space_around_binary_operators = before_and_after
|
|
csharp_space_around_declaration_statements = false
|
|
csharp_space_before_colon_in_inheritance_clause = true
|
|
csharp_space_before_comma = false
|
|
csharp_space_before_dot = false
|
|
csharp_space_before_open_square_brackets = false
|
|
csharp_space_before_semicolon_in_for_statement = false
|
|
csharp_space_between_empty_square_brackets = false
|
|
csharp_space_between_method_call_empty_parameter_list_parentheses = false
|
|
csharp_space_between_method_call_name_and_opening_parenthesis = false
|
|
csharp_space_between_method_call_parameter_list_parentheses = false
|
|
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
|
|
csharp_space_between_method_declaration_name_and_open_parenthesis = false
|
|
csharp_space_between_method_declaration_parameter_list_parentheses = false
|
|
csharp_space_between_parentheses = false
|
|
csharp_space_between_square_brackets = false
|
|
|
|
# Wrapping preferences
|
|
csharp_preserve_single_line_blocks = true
|
|
csharp_preserve_single_line_statements = true
|
|
|
|
#### Naming styles ####
|
|
|
|
# Naming rules
|
|
|
|
dotnet_naming_rule.interface_should_be_begins_with_i.severity = warning
|
|
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
|
|
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
|
|
|
|
dotnet_naming_rule.types_should_be_pascal_case.severity = warning
|
|
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
|
|
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
|
|
|
|
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = warning
|
|
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
|
|
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
|
|
|
|
dotnet_naming_rule.struct_should_be_begin_with_s.severity = warning
|
|
dotnet_naming_rule.struct_should_be_begin_with_s.symbols = struct
|
|
dotnet_naming_rule.struct_should_be_begin_with_s.style = begin_with_s
|
|
|
|
dotnet_naming_rule.property_should_be_pascal_case.severity = warning
|
|
dotnet_naming_rule.property_should_be_pascal_case.symbols = property
|
|
dotnet_naming_rule.property_should_be_pascal_case.style = pascal_case
|
|
|
|
dotnet_naming_rule.constant_field_should_be_begins_with_c_.severity = warning
|
|
dotnet_naming_rule.constant_field_should_be_begins_with_c_.symbols = constant_field
|
|
dotnet_naming_rule.constant_field_should_be_begins_with_c_.style = begins_with_c_
|
|
|
|
dotnet_naming_rule.static_field_should_be_starts_with_s_.severity = warning
|
|
dotnet_naming_rule.static_field_should_be_starts_with_s_.symbols = static_field
|
|
dotnet_naming_rule.static_field_should_be_starts_with_s_.style = starts_with_s_
|
|
|
|
dotnet_naming_rule.private_or_internal_static_field_should_be_starts_with_s_.severity = warning
|
|
dotnet_naming_rule.private_or_internal_static_field_should_be_starts_with_s_.symbols = private_or_internal_static_field
|
|
dotnet_naming_rule.private_or_internal_static_field_should_be_starts_with_s_.style = starts_with_s_
|
|
|
|
dotnet_naming_rule.public_or_protected_field_should_be_starts_with_m_.severity = warning
|
|
dotnet_naming_rule.public_or_protected_field_should_be_starts_with_m_.symbols = public_or_protected_field
|
|
dotnet_naming_rule.public_or_protected_field_should_be_starts_with_m_.style = starts_with_m_
|
|
|
|
dotnet_naming_rule.private_or_internal_field_should_be_starts_with_m_.severity = warning
|
|
dotnet_naming_rule.private_or_internal_field_should_be_starts_with_m_.symbols = private_or_internal_field
|
|
dotnet_naming_rule.private_or_internal_field_should_be_starts_with_m_.style = starts_with_m_
|
|
|
|
dotnet_naming_rule.event_should_be_end_with_event.severity = warning
|
|
dotnet_naming_rule.event_should_be_end_with_event.symbols = event
|
|
dotnet_naming_rule.event_should_be_end_with_event.style = end_with_event
|
|
|
|
dotnet_naming_rule.delegate_should_be_end_with_delegate.severity = warning
|
|
dotnet_naming_rule.delegate_should_be_end_with_delegate.symbols = delegate
|
|
dotnet_naming_rule.delegate_should_be_end_with_delegate.style = end_with_delegate
|
|
|
|
dotnet_naming_rule.parameter_should_be_camelcase.severity = warning
|
|
dotnet_naming_rule.parameter_should_be_camelcase.symbols = parameter
|
|
dotnet_naming_rule.parameter_should_be_camelcase.style = camelcase
|
|
|
|
dotnet_naming_rule.local_should_be_camelcase.severity = warning
|
|
dotnet_naming_rule.local_should_be_camelcase.symbols = local
|
|
dotnet_naming_rule.local_should_be_camelcase.style = camelcase
|
|
|
|
# Symbol specifications
|
|
|
|
dotnet_naming_symbols.interface.applicable_kinds = interface
|
|
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
|
|
dotnet_naming_symbols.interface.required_modifiers =
|
|
|
|
dotnet_naming_symbols.struct.applicable_kinds = struct
|
|
dotnet_naming_symbols.struct.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
|
|
dotnet_naming_symbols.struct.required_modifiers =
|
|
|
|
dotnet_naming_symbols.delegate.applicable_kinds = delegate
|
|
dotnet_naming_symbols.delegate.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
|
|
dotnet_naming_symbols.delegate.required_modifiers =
|
|
|
|
dotnet_naming_symbols.event.applicable_kinds = event
|
|
dotnet_naming_symbols.event.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
|
|
dotnet_naming_symbols.event.required_modifiers =
|
|
|
|
dotnet_naming_symbols.property.applicable_kinds = property
|
|
dotnet_naming_symbols.property.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
|
|
dotnet_naming_symbols.property.required_modifiers =
|
|
|
|
dotnet_naming_symbols.public_or_protected_field.applicable_kinds = field
|
|
dotnet_naming_symbols.public_or_protected_field.applicable_accessibilities = public, protected
|
|
dotnet_naming_symbols.public_or_protected_field.required_modifiers =
|
|
|
|
dotnet_naming_symbols.static_field.applicable_kinds = field
|
|
dotnet_naming_symbols.static_field.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
|
|
dotnet_naming_symbols.static_field.required_modifiers = static
|
|
|
|
dotnet_naming_symbols.private_or_internal_field.applicable_kinds = field
|
|
dotnet_naming_symbols.private_or_internal_field.applicable_accessibilities = internal, private, private_protected
|
|
dotnet_naming_symbols.private_or_internal_field.required_modifiers =
|
|
|
|
dotnet_naming_symbols.private_or_internal_static_field.applicable_kinds = field
|
|
dotnet_naming_symbols.private_or_internal_static_field.applicable_accessibilities = internal, private, private_protected
|
|
dotnet_naming_symbols.private_or_internal_static_field.required_modifiers = static
|
|
|
|
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
|
|
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
|
|
dotnet_naming_symbols.types.required_modifiers =
|
|
|
|
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
|
|
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
|
|
dotnet_naming_symbols.non_field_members.required_modifiers =
|
|
|
|
dotnet_naming_symbols.parameter.applicable_kinds = parameter
|
|
dotnet_naming_symbols.parameter.applicable_accessibilities = *
|
|
dotnet_naming_symbols.parameter.required_modifiers =
|
|
|
|
dotnet_naming_symbols.local.applicable_kinds = local
|
|
dotnet_naming_symbols.local.applicable_accessibilities = local
|
|
dotnet_naming_symbols.local.required_modifiers =
|
|
|
|
dotnet_naming_symbols.constant_field.applicable_kinds = field
|
|
dotnet_naming_symbols.constant_field.applicable_accessibilities = *
|
|
dotnet_naming_symbols.constant_field.required_modifiers = const
|
|
|
|
# Naming styles
|
|
|
|
dotnet_naming_style.pascal_case.required_prefix =
|
|
dotnet_naming_style.pascal_case.required_suffix =
|
|
dotnet_naming_style.pascal_case.word_separator =
|
|
dotnet_naming_style.pascal_case.capitalization = pascal_case
|
|
|
|
dotnet_naming_style.begins_with_i.required_prefix = I
|
|
dotnet_naming_style.begins_with_i.required_suffix =
|
|
dotnet_naming_style.begins_with_i.word_separator =
|
|
dotnet_naming_style.begins_with_i.capitalization = pascal_case
|
|
|
|
dotnet_naming_style.begin_with_s.required_prefix = S
|
|
dotnet_naming_style.begin_with_s.required_suffix =
|
|
dotnet_naming_style.begin_with_s.word_separator =
|
|
dotnet_naming_style.begin_with_s.capitalization = pascal_case
|
|
|
|
dotnet_naming_style.starts_with_m_.required_prefix = m_
|
|
dotnet_naming_style.starts_with_m_.required_suffix =
|
|
dotnet_naming_style.starts_with_m_.word_separator =
|
|
dotnet_naming_style.starts_with_m_.capitalization = pascal_case
|
|
|
|
dotnet_naming_style.starts_with_s_.required_prefix = s_
|
|
dotnet_naming_style.starts_with_s_.required_suffix =
|
|
dotnet_naming_style.starts_with_s_.word_separator =
|
|
dotnet_naming_style.starts_with_s_.capitalization = pascal_case
|
|
|
|
dotnet_naming_style.end_with_delegate.required_prefix =
|
|
dotnet_naming_style.end_with_delegate.required_suffix = Delegate
|
|
dotnet_naming_style.end_with_delegate.word_separator =
|
|
dotnet_naming_style.end_with_delegate.capitalization = pascal_case
|
|
|
|
dotnet_naming_style.end_with_event.required_prefix =
|
|
dotnet_naming_style.end_with_event.required_suffix = Event
|
|
dotnet_naming_style.end_with_event.word_separator =
|
|
dotnet_naming_style.end_with_event.capitalization = pascal_case
|
|
|
|
dotnet_naming_style.camelcase.required_prefix =
|
|
dotnet_naming_style.camelcase.required_suffix =
|
|
dotnet_naming_style.camelcase.word_separator =
|
|
dotnet_naming_style.camelcase.capitalization = camel_case
|
|
|
|
dotnet_naming_style.begins_with_c_.required_prefix = c_
|
|
dotnet_naming_style.begins_with_c_.required_suffix =
|
|
dotnet_naming_style.begins_with_c_.word_separator =
|
|
dotnet_naming_style.begins_with_c_.capitalization = pascal_case
|
|
|
|
# ReSharper properties
|
|
resharper_align_linq_query = true
|
|
resharper_align_multiline_argument = true
|
|
resharper_align_multiline_calls_chain = true
|
|
resharper_align_multiline_extends_list = true
|
|
resharper_align_multiline_for_stmt = true
|
|
resharper_align_multline_type_parameter_constrains = true
|
|
resharper_align_multline_type_parameter_list = true
|
|
resharper_align_tuple_components = true
|
|
resharper_allow_far_alignment = false
|
|
resharper_apply_auto_detected_rules = false
|
|
resharper_blank_lines_after_control_transfer_statements = 1
|
|
resharper_blank_lines_after_file_scoped_namespace_directive = 1
|
|
resharper_blank_lines_around_single_line_type = 0
|
|
resharper_blank_lines_before_multiline_statements = 0
|
|
resharper_braces_for_fixed = required
|
|
resharper_braces_for_lock = required
|
|
resharper_braces_for_using = required
|
|
resharper_csharp_align_multiline_parameter = true
|
|
resharper_csharp_align_multiple_declaration = true
|
|
resharper_csharp_allow_far_alignment = true
|
|
resharper_csharp_blank_lines_around_field = 0
|
|
resharper_csharp_extra_spaces = remove_all
|
|
resharper_csharp_insert_final_newline = false
|
|
resharper_csharp_keep_blank_lines_in_code = 1
|
|
resharper_csharp_keep_blank_lines_in_declarations = 1
|
|
resharper_csharp_max_line_length = 500
|
|
resharper_csharp_naming_rule.constants = c_ + AaBb
|
|
resharper_csharp_naming_rule.event = AaBb
|
|
resharper_csharp_naming_rule.interfaces = I + AaBb
|
|
resharper_csharp_naming_rule.local_constants = aaBb
|
|
resharper_csharp_naming_rule.method = AaBb
|
|
resharper_csharp_naming_rule.private_constants = c_ + AaBb
|
|
resharper_csharp_naming_rule.private_instance_fields = m_ + AaBb
|
|
resharper_csharp_naming_rule.private_static_fields = s_ + AaBb
|
|
resharper_csharp_naming_rule.private_static_readonly = s_ + AaBb
|
|
resharper_csharp_naming_rule.property = AaBb
|
|
resharper_csharp_naming_rule.public_fields = m_ + AaBb
|
|
resharper_csharp_naming_rule.static_readonly = s_ + AaBb
|
|
resharper_csharp_naming_rule.types_and_namespaces = AaBb
|
|
resharper_csharp_outdent_commas = true
|
|
resharper_csharp_outdent_dots = false
|
|
resharper_csharp_stick_comment = false
|
|
resharper_csharp_use_indent_from_vs = true
|
|
resharper_csharp_wrap_extends_list_style = chop_if_long
|
|
resharper_csharp_wrap_lines = false
|
|
resharper_csharp_wrap_parameters_style = chop_if_long
|
|
resharper_csharp_wrap_ternary_expr_style = wrap_if_long
|
|
resharper_csharp_wrap_chained_method_calls = chop_if_long
|
|
resharper_extra_spaces = remove_all
|
|
resharper_for_built_in_types = use_var
|
|
resharper_indent_preprocessor_region = no_indent
|
|
resharper_instance_members_qualify_declared_in =
|
|
resharper_int_align_switch_expressions = false
|
|
resharper_int_align_switch_sections = false
|
|
resharper_keep_existing_arrangement = true
|
|
resharper_keep_existing_attribute_arrangement = true
|
|
resharper_keep_existing_switch_expression_arrangement = true
|
|
resharper_max_attribute_length_for_same_line = 0
|
|
resharper_max_initializer_elements_on_line = 1
|
|
resharper_nested_ternary_style = compact
|
|
resharper_object_creation_when_type_not_evident = target_typed
|
|
resharper_outdent_binary_ops = true
|
|
resharper_place_constructor_initializer_on_same_line = false
|
|
resharper_place_method_attribute_on_same_line = if_owner_is_single_line
|
|
resharper_place_simple_case_statement_on_same_line = true
|
|
resharper_place_simple_embedded_statement_on_same_line = false
|
|
resharper_place_simple_initializer_on_single_line = true
|
|
resharper_place_simple_property_pattern_on_single_line = true
|
|
resharper_place_type_attribute_on_same_line = if_owner_is_single_line
|
|
resharper_use_heuristics_for_body_style = true
|
|
resharper_use_indent_from_vs = true
|
|
resharper_space_before_new_parentheses = false
|
|
resharper_use_roslyn_logic_for_evident_types = true
|
|
|
|
# IDE0090: Use 'new(...)'
|
|
dotnet_diagnostic.ide0090.severity = silent
|
|
dotnet_diagnostic.ide0110.severity = suggestion
|
|
dotnet_diagnostic.ide0058.severity = suggestion
|
|
dotnet_diagnostic.ide0059.severity = suggestion
|
|
csharp_style_namespace_declarations = file_scoped:none
|
|
csharp_style_prefer_null_check_over_type_check = true:suggestion
|
|
csharp_style_prefer_local_over_anonymous_function = true:suggestion
|
|
csharp_style_prefer_tuple_swap = true:suggestion
|
|
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent
|
|
csharp_style_allow_embedded_statements_on_same_line_experimental = true:silent
|
|
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:silent
|
|
csharp_style_prefer_extended_property_pattern = true:suggestion
|
|
|
|
# Microsoft .NET properties
|
|
dotnet_naming_rule.constants_rule.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.constants_rule.severity = none
|
|
dotnet_naming_rule.constants_rule.style = begins_with_c_
|
|
dotnet_naming_rule.constants_rule.symbols = constants_symbols
|
|
dotnet_naming_rule.event_rule.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.event_rule.severity = none
|
|
dotnet_naming_rule.event_rule.style = pascal_case
|
|
dotnet_naming_rule.event_rule.symbols = event_symbols
|
|
dotnet_naming_rule.interfaces_rule.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.interfaces_rule.severity = none
|
|
dotnet_naming_rule.interfaces_rule.style = begins_with_i
|
|
dotnet_naming_rule.interfaces_rule.symbols = interfaces_symbols
|
|
dotnet_naming_rule.local_constants_rule.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.local_constants_rule.severity = none
|
|
dotnet_naming_rule.local_constants_rule.style = camelcase
|
|
dotnet_naming_rule.local_constants_rule.symbols = local_constants_symbols
|
|
dotnet_naming_rule.local_should_be_camelcase.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.method_rule.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.method_rule.severity = none
|
|
dotnet_naming_rule.method_rule.style = pascal_case
|
|
dotnet_naming_rule.method_rule.symbols = method_symbols
|
|
dotnet_naming_rule.non_field_members_should_be_pascal_case.import_to_resharper = True
|
|
dotnet_naming_rule.non_field_members_should_be_pascal_case.resharper_description = non_field_members_should_be_pascal_case
|
|
dotnet_naming_rule.non_field_members_should_be_pascal_case.resharper_guid = 44ab0b2d-34cc-42db-a691-0c646821e2e4
|
|
dotnet_naming_rule.parameter_should_be_camelcase.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.private_constants_rule.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.private_constants_rule.severity = none
|
|
dotnet_naming_rule.private_constants_rule.style = begins_with_c_
|
|
dotnet_naming_rule.private_constants_rule.symbols = private_constants_symbols
|
|
dotnet_naming_rule.private_instance_fields_rule.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.private_instance_fields_rule.severity = none
|
|
dotnet_naming_rule.private_instance_fields_rule.style = starts_with_m_
|
|
dotnet_naming_rule.private_instance_fields_rule.symbols = private_instance_fields_symbols
|
|
dotnet_naming_rule.private_static_fields_rule.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.private_static_fields_rule.severity = none
|
|
dotnet_naming_rule.private_static_fields_rule.style = starts_with_s_
|
|
dotnet_naming_rule.private_static_fields_rule.symbols = private_static_fields_symbols
|
|
dotnet_naming_rule.private_static_readonly_rule.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.private_static_readonly_rule.severity = none
|
|
dotnet_naming_rule.private_static_readonly_rule.style = starts_with_s_
|
|
dotnet_naming_rule.private_static_readonly_rule.symbols = private_static_readonly_symbols
|
|
dotnet_naming_rule.property_rule.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.property_rule.severity = none
|
|
dotnet_naming_rule.property_rule.style = pascal_case
|
|
dotnet_naming_rule.property_rule.symbols = property_symbols
|
|
dotnet_naming_rule.public_fields_rule.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.public_fields_rule.severity = none
|
|
dotnet_naming_rule.public_fields_rule.style = starts_with_m_
|
|
dotnet_naming_rule.public_fields_rule.symbols = public_fields_symbols
|
|
dotnet_naming_rule.static_readonly_rule.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.static_readonly_rule.severity = none
|
|
dotnet_naming_rule.static_readonly_rule.style = starts_with_s_
|
|
dotnet_naming_rule.static_readonly_rule.symbols = static_readonly_symbols
|
|
dotnet_naming_rule.types_and_namespaces_rule.import_to_resharper = as_predefined
|
|
dotnet_naming_rule.types_and_namespaces_rule.severity = none
|
|
dotnet_naming_rule.types_and_namespaces_rule.style = pascal_case
|
|
dotnet_naming_rule.types_and_namespaces_rule.symbols = types_and_namespaces_symbols
|
|
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.event_symbols.applicable_accessibilities = *
|
|
dotnet_naming_symbols.event_symbols.applicable_kinds = event
|
|
dotnet_naming_symbols.interfaces_symbols.applicable_accessibilities = *
|
|
dotnet_naming_symbols.interfaces_symbols.applicable_kinds = interface
|
|
dotnet_naming_symbols.local_constants_symbols.applicable_accessibilities = *
|
|
dotnet_naming_symbols.local_constants_symbols.applicable_kinds = local
|
|
dotnet_naming_symbols.local_constants_symbols.required_modifiers = const
|
|
dotnet_naming_symbols.method_symbols.applicable_accessibilities = *
|
|
dotnet_naming_symbols.method_symbols.applicable_kinds = method
|
|
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.private_instance_fields_symbols.applicable_accessibilities = private
|
|
dotnet_naming_symbols.private_instance_fields_symbols.applicable_kinds = field
|
|
dotnet_naming_symbols.private_static_fields_symbols.applicable_accessibilities = private
|
|
dotnet_naming_symbols.private_static_fields_symbols.applicable_kinds = field
|
|
dotnet_naming_symbols.private_static_fields_symbols.required_modifiers = static
|
|
dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities = private
|
|
dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds = field
|
|
dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = static,readonly
|
|
dotnet_naming_symbols.property_symbols.applicable_accessibilities = *
|
|
dotnet_naming_symbols.property_symbols.applicable_kinds = property
|
|
dotnet_naming_symbols.public_fields_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected
|
|
dotnet_naming_symbols.public_fields_symbols.applicable_kinds = field
|
|
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_naming_symbols.types_and_namespaces_symbols.applicable_accessibilities = *
|
|
dotnet_naming_symbols.types_and_namespaces_symbols.applicable_kinds = namespace,class,struct,enum,delegate
|
|
|
|
# ReSharper inspection severities
|
|
resharper_arrange_accessor_owner_body_highlighting = suggestion
|
|
resharper_arrange_default_value_when_type_evident_highlighting = hint
|
|
resharper_arrange_object_creation_when_type_evident_highlighting = hint
|
|
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_foreach_can_be_partly_converted_to_query_using_another_get_enumerator_highlighting = none
|
|
resharper_identifier_typo_highlighting = hint
|
|
resharper_inconsistent_naming_highlighting = none
|
|
resharper_json_validation_failed_highlighting = warning
|
|
resharper_member_can_be_private_global_highlighting = hint
|
|
resharper_member_can_be_private_local_highlighting = hint
|
|
resharper_member_can_be_protected_global_highlighting = hint
|
|
resharper_member_can_be_protected_local_highlighting = hint
|
|
resharper_redundant_base_qualifier_highlighting = warning
|
|
resharper_remove_redundant_braces_highlighting = suggestion
|
|
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_unused_auto_property_accessor_global_highlighting = hint
|
|
resharper_unused_auto_property_accessor_local_highlighting = hint
|
|
resharper_unused_member_global_highlighting = hint
|
|
csharp_style_prefer_method_group_conversion = true:suggestion
|
|
csharp_style_prefer_top_level_statements = true:silent
|
|
dotnet_diagnostic.VSTHRD001.severity = none
|
|
dotnet_diagnostic.VSTHRD105.severity = silent
|
|
csharp_style_prefer_primary_constructors = true:suggestion
|
|
csharp_prefer_system_threading_lock = true:suggestion
|
|
dotnet_diagnostic.VSTHRD012.severity = none
|
|
dotnet_diagnostic.VSTHRD003.severity = none
|
|
|
|
[*.{cs,vb}]
|
|
dotnet_diagnostic.ca1822.severity = silent
|
|
dotnet_diagnostic.ca1305.severity = suggestion
|
|
dotnet_diagnostic.IDE0079.severity = silent
|
|
dotnet_diagnostic.IDE0270.severity = silent
|
|
dotnet_style_qualification_for_field = false:suggestion
|
|
dotnet_style_qualification_for_property = false:suggestion
|
|
dotnet_style_qualification_for_method = false:suggestion
|
|
dotnet_style_qualification_for_event = false:suggestion
|
|
dotnet_diagnostic.ca2215.severity = warning
|
|
dotnet_diagnostic.ca1001.severity = suggestion
|
|
dotnet_style_operator_placement_when_wrapping = beginning_of_line
|
|
tab_width = 4
|
|
indent_size = 4
|
|
end_of_line = crlf
|
|
dotnet_style_coalesce_expression = true:suggestion
|
|
dotnet_style_null_propagation = true:suggestion
|
|
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
|
|
dotnet_style_prefer_auto_properties = true:silent
|
|
dotnet_style_object_initializer = true:suggestion
|
|
dotnet_style_collection_initializer = true:suggestion
|
|
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
|
|
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
|
|
dotnet_style_prefer_conditional_expression_over_return = true:silent
|
|
dotnet_style_explicit_tuple_names = true:suggestion
|
|
dotnet_style_prefer_inferred_tuple_names = true:suggestion
|
|
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
|
|
dotnet_style_prefer_simplified_interpolation = true:suggestion
|
|
dotnet_style_prefer_compound_assignment = true:suggestion
|
|
dotnet_style_namespace_match_folder = true:suggestion
|
|
dotnet_style_readonly_field = true:suggestion
|
|
dotnet_style_predefined_type_for_locals_parameters_members = true:silent
|
|
dotnet_style_predefined_type_for_member_access = true:silent
|
|
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
|
|
dotnet_style_allow_multiple_blank_lines_experimental = true:silent
|
|
dotnet_style_allow_statement_immediately_after_block_experimental = true:silent
|
|
dotnet_code_quality_unused_parameters = all:suggestion
|
|
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
|
|
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
|
|
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
|
|
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
|
|
|
|
[*.{appxmanifest,asax,ascx,aspx,axaml,axml,build,c,c++,cc,cginc,compute,config,cp,cpp,cs,cshtml,csproj,css,cu,cuh,cxx,dbml,discomap,dtd,fx,fxh,h,hh,hlsl,hlsli,hlslinc,hpp,htm,html,hxx,inc,inl,ino,ipp,js,json,jsproj,jsx,lsproj,master,mpp,mq4,mq5,mqh,njsproj,nuspec,paml,proj,props,proto,razor,resjson,resw,resx,skin,StyleCop,targets,tasks,tpp,ts,tsx,usf,ush,vb,vbproj,xaml,xamlx,xml,xoml,xsd}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
tab_width = 4
|
|
|
|
[*.{appxmanifest,axml,build,c,c++,cc,cginc,compute,config,cp,cpp,cshtml,csproj,cu,cuh,cxx,dbml,discomap,dtd,fx,fxh,h,hh,hlsl,hlsli,hlslinc,hpp,htm,html,hxx,inc,inl,ino,ipp,jsproj,lsproj,mpp,mq4,mq5,mqh,njsproj,nuspec,proj,props,proto,razor,resw,resx,StyleCop,targets,tasks,tpp,usf,ush,vbproj,xml,xsd}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
tab_width = 4
|
|
|
|
[*.{asax,ascx,aspx,axaml,cs,css,js,jsx,master,paml,skin,ts,tsx,vb,xaml,xamlx,xoml}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
tab_width = 4
|
|
dotnet_diagnostic.CA1816.severity = silent
|
|
dotnet_diagnostic.HAA0501.severity = silent
|
|
dotnet_diagnostic.HAA0502.severity = silent
|
|
dotnet_style_prefer_collection_expression = true:suggestion
|
|
dotnet_diagnostic.RS2008.severity = none
|
|
|
|
[*.{json,resjson}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
tab_width = 4
|