mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Fix method parameter wrapping in rider
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
root = true
|
||||
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
|
||||
###############################
|
||||
# Core EditorConfig Options #
|
||||
###############################
|
||||
root = true
|
||||
# All files
|
||||
[*]
|
||||
indent_style = space
|
||||
|
||||
# ReSharper properties
|
||||
resharper_csharp_wrap_after_invocation_lpar = true
|
||||
resharper_csharp_wrap_arguments_style = chop_if_long
|
||||
|
||||
# MSBuild files
|
||||
[*.{csproj,targets,props}]
|
||||
indent_size = 2
|
||||
@@ -58,15 +62,15 @@ dotnet_style_prefer_conditional_expression_over_return = true:silent
|
||||
# Naming Conventions #
|
||||
###############################
|
||||
# Style Definitions
|
||||
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
|
||||
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
|
||||
# Use PascalCase for constant fields
|
||||
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
|
||||
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
|
||||
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
|
||||
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
|
||||
dotnet_naming_symbols.constant_fields.applicable_kinds = field
|
||||
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
|
||||
dotnet_naming_symbols.constant_fields.required_modifiers = const
|
||||
dotnet_diagnostic.CA2007.severity=warning
|
||||
dotnet_naming_symbols.constant_fields.applicable_kinds = field
|
||||
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
|
||||
dotnet_naming_symbols.constant_fields.required_modifiers = const
|
||||
dotnet_diagnostic.ca2007.severity = warning
|
||||
dotnet_style_operator_placement_when_wrapping = beginning_of_line
|
||||
tab_width = 4
|
||||
end_of_line = crlf
|
||||
@@ -103,13 +107,13 @@ csharp_style_inlined_variable_declaration = true:suggestion
|
||||
# C# Formatting Rules #
|
||||
###############################
|
||||
# New line preferences
|
||||
csharp_new_line_before_open_brace =types, methods
|
||||
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
|
||||
csharp_new_line_before_open_brace = types, methods
|
||||
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
|
||||
# Indentation preferences
|
||||
csharp_indent_case_contents = true
|
||||
csharp_indent_switch_labels = false
|
||||
@@ -129,11 +133,11 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false
|
||||
# Wrapping preferences
|
||||
csharp_preserve_single_line_statements = true
|
||||
csharp_preserve_single_line_blocks = true
|
||||
insert_final_newline=false
|
||||
dotnet_diagnostic.IL3000.severity=error
|
||||
dotnet_diagnostic.IL3001.severity=error
|
||||
dotnet_diagnostic.IL3002.severity=error
|
||||
dotnet_diagnostic.IL3003.severity=error
|
||||
insert_final_newline = false
|
||||
dotnet_diagnostic.il3000.severity = error
|
||||
dotnet_diagnostic.il3001.severity = error
|
||||
dotnet_diagnostic.il3002.severity = error
|
||||
dotnet_diagnostic.il3003.severity = error
|
||||
###############################
|
||||
# VB Coding Conventions #
|
||||
###############################
|
||||
@@ -215,8 +219,8 @@ indent_size = 2
|
||||
|
||||
[*.cs]
|
||||
# for mapperly
|
||||
dotnet_diagnostic.RMG012.severity = error # Unmapped target member
|
||||
dotnet_diagnostic.RMG020.severity = error # Unmapped source member
|
||||
dotnet_diagnostic.rmg012.severity = error # Unmapped target member
|
||||
dotnet_diagnostic.rmg020.severity = error # Unmapped source member
|
||||
|
||||
# file scoped namespaces
|
||||
csharp_style_namespace_declarations = file_scoped:warning
|
||||
Reference in New Issue
Block a user