You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.2 KiB
48 lines
1.2 KiB
root = true
|
|
|
|
[*]
|
|
indent_style = space
|
|
indent_size = 2
|
|
max_line_length = 100
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.{xml,props,csproj}]
|
|
xml_attribute_indent = align_by_first_attribute
|
|
xml_linebreak_before_elements =
|
|
xml_max_blank_lines_between_tags = 1
|
|
xml_pi_attribute_style = do_not_touch
|
|
xml_space_before_self_closing = true
|
|
xml_space_inside_empty_tag = true
|
|
xml_wrap_lines = true
|
|
xml_wrap_tags_and_pi = true
|
|
xml_wrap_text = false
|
|
|
|
[*.{cs,ps1}]
|
|
indent_size = 4
|
|
|
|
[*.{json,json5,jsonc}]
|
|
ij_javascript_array_initializer_right_brace_on_new_line = false
|
|
|
|
[*.cs]
|
|
|
|
# Resharper/Rider specific updates to make it respect rules used by CSharpier
|
|
resharper_arrange_trailing_comma_in_multiline_lists_highlighting = none
|
|
resharper_trailing_comma_in_multiline_lists = true
|
|
resharper_trailing_comma_in_singleline_lists = false
|
|
|
|
### Analysis Suppression
|
|
|
|
# Validate arguments of public methods
|
|
dotnet_diagnostic.CA1062.severity = none
|
|
|
|
# Consider calling ConfigureAwait on the awaited task
|
|
dotnet_diagnostic.CA2007.severity = none
|
|
|
|
# Implement standard exception constructors
|
|
dotnet_diagnostic.CA1032.severity = none
|
|
|
|
# Consider making public types internal
|
|
dotnet_diagnostic.CA1515.severity = none
|