23 lines
766 B
INI
23 lines
766 B
INI
root = true
|
|
|
|
[*.cs]
|
|
# Use tabs for indentation
|
|
indent_style = space # To use spaces, you could set this to 'space'
|
|
indent_size = 2 # Standard C# indent size
|
|
|
|
# Alignment and Style Rules
|
|
csharp_indent_case_contents = true
|
|
csharp_new_line_after_open_brace = all
|
|
csharp_new_line_before_open_brace = none
|
|
csharp_new_line_before_else = true
|
|
csharp_new_line_before_catch = true
|
|
csharp_new_line_before_finally = true
|
|
csharp_new_line_before_members_in_object_initializers = true
|
|
csharp_new_line_before_members_in_anonymous_types = true
|
|
csharp_new_line_between_query_expression_clauses = true
|
|
|
|
# Limit the number of characters in a line
|
|
max_line_length = 100 # This setting does not enforce it; it's a guideline.
|
|
|
|
[*.{cs,vb}]
|
|
dotnet_diagnostic.IDE1006.severity = none |