Align .editorconfig files Move Controller logic to DMO classes GlobalVars.AppSettings = Models.AppSettings.GetFromConfigurationManager(); Question EditorConfig Project level editorconfig Format White Spaces AppSetting when EnvironmentVariable not set Corrective Actions Tests Schedule Actions Tests DMO Tests Controller Tests Get ready to use VSCode IDE
31 lines
1.2 KiB
INI
31 lines
1.2 KiB
INI
|
|
#### .NET Coding Conventions ####
|
|
|
|
# Organize usings
|
|
dotnet_separate_import_directive_groups = true
|
|
dotnet_sort_system_directives_first = true
|
|
|
|
# New line preferences
|
|
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true
|
|
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true
|
|
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true
|
|
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false
|
|
csharp_style_allow_embedded_statements_on_same_line_experimental = true
|
|
|
|
#### C# Formatting Rules ####
|
|
|
|
# New line preferences
|
|
csharp_new_line_before_catch = false
|
|
csharp_new_line_before_else = false
|
|
csharp_new_line_before_finally = false
|
|
csharp_new_line_before_members_in_anonymous_types = true
|
|
csharp_new_line_before_members_in_object_initializers = true
|
|
csharp_new_line_before_open_brace = none
|
|
csharp_new_line_between_query_expression_clauses = true
|
|
|
|
####
|
|
|
|
insert_final_newline = false
|
|
csharp_style_namespace_declarations = file_scoped:warning
|
|
dotnet_diagnostic.IDE0161.severity = warning # Question - Namespace declaration preferences
|
|
dotnet_diagnostic.IDE2000.severity = error # IDE2000: Allow multiple blank lines |