43 lines
1.7 KiB
INI
43 lines
1.7 KiB
INI
root = true
|
|
|
|
# [*]
|
|
# end_of_line = lf
|
|
# insert_final_newline = true
|
|
|
|
[*.cs]
|
|
indent_style = space
|
|
indent_size = 4
|
|
csharp_new_line_before_open_brace = none
|
|
csharp_new_line_before_else = false
|
|
csharp_new_line_before_catch = false
|
|
csharp_new_line_before_finally = false
|
|
# csharp_new_line_before_members_in_object_initializers = false
|
|
# csharp_new_line_before_members_in_anonymous_types = false
|
|
# csharp_new_line_between_query_expression_clauses = false
|
|
|
|
# IDE1006
|
|
# dotnet_naming_style.camel_case.capitalization = camel_case
|
|
# symbols
|
|
# dotnet_naming_symbols.private_symbols.applicable_accessibilities = private
|
|
# dotnet_naming_symbols.public_symbols.applicable_accessibilities = public, protected
|
|
# dotnet_naming_symbols.interface_types.applicable_kinds = interface
|
|
# rules
|
|
dotnet_naming_rule.camel_case_for_private.severity = warning
|
|
dotnet_naming_rule.camel_case_for_private.symbols = private_symbols
|
|
dotnet_naming_rule.camel_case_for_private.style = camel_case
|
|
|
|
dotnet_naming_style.variable_style.capitalization = camel_case
|
|
dotnet_naming_style.variable_style.required_prefix = _
|
|
dotnet_naming_style.variable_style.required_suffix =
|
|
|
|
# Enforce custom snake_case-like naming for variable names
|
|
# dotnet_naming_rule.snake_case_like.variables.severity = error
|
|
# dotnet_naming_rule.snake_case_like.variables.symbols = variable
|
|
# dotnet_naming_rule.snake_case_like.variables.style = custom_snake_case_like
|
|
#
|
|
# dotnet_naming_symbols.variable.applicable_kinds = field, local, parameter
|
|
|
|
#dotnet_naming_style.custom_snake_case_like.capitalization = camel_case
|
|
#dotnet_naming_style.custom_snake_case_like.required_prefix = _
|
|
#dotnet_naming_style.custom_snake_case_like.required_suffix =
|