ms_learn_csharp/.editorconfig

43 lines
1.7 KiB
INI
Raw Normal View History

2024-07-19 20:30:50 -04:00
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
2024-07-23 00:58:55 -04:00
# IDE1006
# dotnet_naming_style.camel_case.capitalization = camel_case
2024-07-19 20:30:50 -04:00
# symbols
2024-07-23 00:58:55 -04:00
# 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
2024-07-19 20:30:50 -04:00
# 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
2024-07-23 00:58:55 -04:00
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 =