diff --git a/.build/Build.CI.cs b/.build/Build.CI.cs index d90bec384..ef0dc4be7 100644 --- a/.build/Build.CI.cs +++ b/.build/Build.CI.cs @@ -38,6 +38,13 @@ ExcludedTargets = new[] { nameof(ICanClean.Clean), nameof(ICanRestoreWithDotNetCore.DotnetToolRestore) }, Enhancements = new[] { nameof(CiMiddleware) } )] +[GitHubActionsLint( + "lint", + GitHubActionsImage.UbuntuLatest, + AutoGenerate = false, + OnPullRequestTargetBranches = new[] { "master", "main", "next" }, + Enhancements = new[] { nameof(LintStagedMiddleware) } +)] [PrintBuildVersion] [PrintCIEnvironment] [UploadLogs] @@ -69,15 +76,18 @@ public static RocketSurgeonGitHubActionsConfiguration CiMiddleware(RocketSurgeon .UseDotNetSdks("6.0", "8.0") .AddNuGetCache() .ConfigureStep(step => step.FetchDepth = 0) - .PublishLogs() - .FailFast = false; + .PublishLogs(); return configuration; } - private static int GetCheckStepIndex(RocketSurgeonsGithubActionsJob job) + public static RocketSurgeonGitHubActionsConfiguration LintStagedMiddleware(RocketSurgeonGitHubActionsConfiguration configuration) { - var checkoutStep = job.Steps.OfType().SingleOrDefault(); - return checkoutStep is null ? 1 : job.Steps.IndexOf(checkoutStep); + configuration + .Jobs.OfType() + .First(z => z.Name.Equals("Build", StringComparison.OrdinalIgnoreCase)) + .UseDotNetSdks("6.0", "8.0"); + + return configuration; } } diff --git a/.build/Build.cs b/.build/Build.cs index e09416e3f..a4acade8c 100644 --- a/.build/Build.cs +++ b/.build/Build.cs @@ -19,6 +19,7 @@ [MSBuildVerbosityMapping] [NuGetVerbosityMapping] [ShutdownDotNetAfterServerBuild] +[LocalBuildConventions] public partial class Pipeline : NukeBuild, ICanRestoreWithDotNetCore, ICanBuildWithDotNetCore, @@ -27,10 +28,15 @@ public partial class Pipeline : NukeBuild, IHaveNuGetPackages, IHaveDataCollector, ICanClean, + ICanLintStagedFiles, + ICanDotNetFormat, + ICanPrettier, + // IHavePublicApis, ICanUpdateReadme, IGenerateCodeCoverageReport, IGenerateCodeCoverageSummary, IGenerateCodeCoverageBadges, + ICanRegenerateBuildConfiguration, IHaveConfiguration { /// @@ -45,48 +51,26 @@ public static int Main() return Execute(x => x.Default); } - public static int FindFreePort() - { - var port = 0; - var socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); - try - { - var localEP = new IPEndPoint(IPAddress.Any, 0); - socket.Bind(localEP); - localEP = (IPEndPoint)socket.LocalEndPoint; - port = localEP.Port; - } - finally - { - socket.Close(); - } - - return port; - } - - public Target Pack => _ => _.Inherit(x => x.CorePack) - .DependsOn(Clean); - - public Target BuildVersion => _ => _.Inherit(x => x.BuildVersion) - .Before(Default) - .Before(Clean); - - [OptionalGitRepository] public GitRepository? GitRepository { get; } - private Target Default => _ => _ .DependsOn(Restore) .DependsOn(Build) .DependsOn(Test) .DependsOn(Pack); - [Solution(GenerateProjects = true)] private Solution Solution { get; } = null!; - public Target Build => _ => _.Inherit(x => x.CoreBuild); - public Target Clean => _ => _.Inherit(x => x.Clean); + public Target Pack => _ => _.Inherit(x => x.CorePack) + .DependsOn(Clean); + + public Target Clean => _ => _.Inherit(x => x.Clean); + public Target Lint => _ => _.Inherit(x => x.Lint); public Target Restore => _ => _.Inherit(x => x.CoreRestore); + public Target Test => _ => _.Inherit(x => x.CoreTest); + + [Solution(GenerateProjects = true)] private Solution Solution { get; } = null!; Nuke.Common.ProjectModel.Solution IHaveSolution.Solution => Solution; + + [OptionalGitRepository] public GitRepository? GitRepository { get; } [ComputedGitVersion] public GitVersion GitVersion { get; } = null!; - public Target Test => _ => _.Inherit(x => x.CoreTest); [Parameter("Configuration to build")] public Configuration Configuration { get; } = IsLocalBuild ? Configuration.Debug : Configuration.Release; } diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 7665717c3..ca3e4e52d 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -22,14 +22,14 @@ "version": "2023.2.3", "commands": ["jb"] }, - "dotnet-format": { - "version": "5.1.250801", - "commands": ["dotnet-format"] - }, "nukeeper": { "version": "0.35.0", "commands": ["nukeeper"] }, + "docfx": { + "version": "2.73.2", + "commands": ["docfx"] + }, "strawberryshake.tools": { "version": "13.7.0", "commands": ["dotnet-graphql"] diff --git a/.editorconfig b/.editorconfig index 39317fa90..a3255495b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,1284 +4,2467 @@ root = true charset = utf-8 indent_style = space indent_size = 4 -max_line_length = 160 +max_line_length = 200 insert_final_newline = true [*.{js, ts, vue}] indent_style = space indent_size = 4 insert_final_newline = true -max_line_length = 160 +max_line_length = 200 [*.{json, xml, yml, yaml}] indent_style = space indent_size = 2 insert_final_newline = true -max_line_length = 160 +max_line_length = 200 + +[{*.graphqlconfig,*.graphqlrc,*.har,*.jsb2,*.jsb3,*.json,*.jsonc,*.postman_collection,*.postman_collection.json,*.postman_environment,*.postman_environment.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,jest.config}] +indent_style = space +indent_size = 2 + +[{*.yaml,*.yml}] +indent_style = space +indent_size = 2 + +[{*.bash,*.sh,*.zsh}] +indent_style = space +indent_size = 2 + +[*.{appxmanifest,asax,ascx,aspx,axaml,build,c,c++,c++m,cc,ccm,cginc,compute,cp,cpp,cppm,cs,cshtml,cu,cuh,cxx,cxxm,dtd,fs,fsi,fsscript,fsx,fx,fxh,h,hh,hlsl,hlsli,hlslinc,hpp,hxx,inc,inl,ino,ipp,ixx,master,ml,mli,mpp,mq4,mq5,mqh,mxx,nuspec,paml,razor,resw,resx,skin,tpp,usf,ush,vb,xaml,xamlx,xoml,xsd}] +indent_style = space +indent_size = 4 +tab_width = 4 [*] -#### .NET Coding Conventions #### +# style options +csharp_prefer_braces = true +# Applicable to: IDE0011 +# true, false, when_multiline + +csharp_prefer_simple_default_expression = true +# Applicable to: IDE0034 +# true, false + +csharp_prefer_simple_using_statement = true +# Applicable to: IDE0063 +# true, false + +csharp_prefer_static_local_function = true +# Applicable to: IDE0062 +# true, false + +csharp_preferred_modifier_order = public, private, protected, internal, new, abstract, virtual, sealed, static, readonly, override, extern, unsafe, volatile, async, file, required +# Applicable to: IDE0036 +# One or more C# modifiers, such as public, private, and protected + +csharp_style_conditional_delegate_call = true +# Applicable to: IDE1005 +# true, false + +csharp_style_deconstructed_variable_declaration = true +# Applicable to: IDE0042 +# true, false + +csharp_style_expression_bodied_accessors = true +# Applicable to: IDE0027 +# true, when_on_single_line, false + +csharp_style_expression_bodied_constructors = true +# Applicable to: IDE0021 +# true, when_on_single_line, false + +csharp_style_expression_bodied_indexers = true +# Applicable to: IDE0026 +# true, when_on_single_line, false + +csharp_style_expression_bodied_lambdas = true +# Applicable to: IDE0053 +# true, when_on_single_line, false + +csharp_style_expression_bodied_local_functions = true +# Applicable to: IDE0061 +# true, when_on_single_line, false + +csharp_style_expression_bodied_methods = true +# Applicable to: IDE0022 +# true, when_on_single_line, false + +csharp_style_expression_bodied_operators = true +# Applicable to: IDE0023, IDE0024 +# true, when_on_single_line, false + +csharp_style_expression_bodied_properties = true +# Applicable to: IDE0025 +# true, when_on_single_line, false + +csharp_style_implicit_object_creation_when_type_is_apparent = true +# Applicable to: IDE0090 +# true, false + +csharp_style_inlined_variable_declaration = true +# Applicable to: IDE0018 +# true, false + +csharp_style_namespace_declarations = file_scoped +# Applicable to: IDE0160, IDE0161 +# block_scoped, file_scoped + +csharp_style_pattern_matching_over_as_with_null_check = true +# Applicable to: IDE0019, IDE0260 +# true, false + +csharp_style_pattern_matching_over_is_with_cast_check = true +# Applicable to: IDE0020, IDE0038 +# true, false + +csharp_style_prefer_extended_property_pattern = true +# Applicable to: IDE0170 +# true, false + +csharp_style_prefer_index_operator = true +# Applicable to: IDE0056 +# true, false + +csharp_style_prefer_local_over_anonymous_function = true +# Applicable to: IDE0039 +# true, false + +csharp_style_prefer_method_group_conversion = true +# Applicable to: IDE0200 +# true, false + +csharp_style_prefer_not_pattern = true +# Applicable to: IDE0083 +# true, false + +csharp_style_prefer_null_check_over_type_check = true +# Applicable to: IDE0150 +# true, false + +csharp_style_prefer_pattern_matching = true +# Applicable to: IDE0078 +# true, false + +csharp_style_prefer_primary_constructors = true +# Applicable to: IDE0290 +# true, false + +csharp_style_prefer_range_operator = true +# Applicable to: IDE0057 +# true, false + +csharp_style_prefer_readonly_struct = true +# Applicable to: IDE0250 +# true, false + +csharp_style_prefer_readonly_struct_member = true +# Applicable to: IDE0251 +# true, false + +csharp_style_prefer_switch_expression = true +# Applicable to: IDE0066 +# true, false + +csharp_style_prefer_top_level_statements = true +# Applicable to: IDE0210, IDE0211 +# true, false + +csharp_style_prefer_tuple_swap = true +# Applicable to: IDE0180 +# true, false + +csharp_style_prefer_utf8_string_literals = true +# Applicable to: IDE0230 +# true, false + +csharp_style_throw_expression = true +# Applicable to: IDE0016 +# true, false + +csharp_style_unused_value_assignment_preference = discard_variable +# Applicable to: IDE0059 +# discard_variable, unused_local_variable + +csharp_style_unused_value_expression_statement_preference = discard_variable +# Applicable to: IDE0058 +# discard_variable, unused_local_variable + +csharp_style_var_elsewhere = true +# Applicable to: IDE0007, IDE0008 +# true, false + +csharp_style_var_for_built_in_types = true +# Applicable to: IDE0007, IDE0008 +# true, false + +csharp_style_var_when_type_is_apparent = true +# Applicable to: IDE0007, IDE0008 +# true, false -# Organize usings +csharp_using_directive_placement = outside_namespace +# Applicable to: IDE0065 +# outside_namespace, inside_namespace + +dotnet_code_quality_unused_parameters = non_public +# Applicable to: IDE0060 +# all, non_public + +dotnet_remove_unnecessary_suppression_exclusions = none +# Applicable to: IDE0079 +# , separated list of rule IDs or categories (prefixed with category:), all, none + +dotnet_style_coalesce_expression = true +# Applicable to: IDE0029, IDE0030, IDE0270 +# true, false + +dotnet_style_collection_initializer = true +# Applicable to: IDE0028 +# true, false + +dotnet_style_explicit_tuple_names = true +# Applicable to: IDE0033 +# true, false + +dotnet_style_namespace_match_folder = true +# Applicable to: IDE0130 +# true, false + +dotnet_style_null_propagation = true +# Applicable to: IDE0031 +# true, false + +dotnet_style_object_initializer = true +# Applicable to: IDE0017 +# true, false + +dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity +# Applicable to: IDE0047, IDE0048 +# always_for_clarity, never_if_unnecessary + +dotnet_style_parentheses_in_other_binary_operators = always_for_clarity +# Applicable to: IDE0047, IDE0048 +# always_for_clarity, never_if_unnecessary + +dotnet_style_parentheses_in_other_operators = never_if_unnecessary +# Applicable to: IDE0047, IDE0048 +# always_for_clarity, never_if_unnecessary + +dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity +# Applicable to: IDE0047, IDE0048 +# always_for_clarity, never_if_unnecessary + +dotnet_style_predefined_type_for_locals_parameters_members = true +# Applicable to: IDE0049 +# true, false + +dotnet_style_predefined_type_for_member_access = true +# Applicable to: IDE0049 +# true, false + +dotnet_style_prefer_auto_properties = true +# Applicable to: IDE0032 +# true, false + +dotnet_style_prefer_compound_assignment = true +# Applicable to: IDE0054, IDE0074 +# true, false + +dotnet_style_prefer_conditional_expression_over_assignment = true +# Applicable to: IDE0045 +# true, false + +dotnet_style_prefer_conditional_expression_over_return = true +# Applicable to: IDE0046 +# true, false + +dotnet_style_prefer_foreach_explicit_cast_in_source = when_strongly_typed +# Applicable to: IDE0220 +# always, when_strongly_typed + +dotnet_style_prefer_inferred_anonymous_type_member_names = true +# Applicable to: IDE0037 +# true, false + +dotnet_style_prefer_inferred_tuple_names = true +# Applicable to: IDE0037 +# true, false + +dotnet_style_prefer_is_null_check_over_reference_equality_method = true +# Applicable to: IDE0041 +# true, false + +dotnet_style_prefer_simplified_boolean_expressions = true +# Applicable to: IDE0075 +# true, false + +dotnet_style_prefer_simplified_interpolation = true +# Applicable to: IDE0071 +# true, false + +dotnet_style_qualification_for_event = false +# Applicable to: IDE0003, IDE0009 +# true, false + +dotnet_style_qualification_for_field = false +# Applicable to: IDE0003, IDE0009 +# true, false + +dotnet_style_qualification_for_method = false +# Applicable to: IDE0003, IDE0009 +# true, false + +dotnet_style_qualification_for_property = false +# Applicable to: IDE0003, IDE0009 +# true, false + +dotnet_style_readonly_field = true +# Applicable to: IDE0044 +# true, false + +dotnet_style_require_accessibility_modifiers = for_non_interface_members +# Applicable to: IDE0040 +# always, for_non_interface_members, never, omit_if_default + +file_header_template = unset +# Applicable to: IDE0073 +# non-empty string, optionally containing a {fileName} placeholder, unset or empty string + +visual_basic_preferred_modifier_order = Partial, Default, Private, Protected, Public, Friend, NotOverridable, Overridable, MustOverride, Overloads, Overrides, MustInherit, NotInheritable, Static, Shared, Shadows, ReadOnly, WriteOnly, Dim, Const, WithEvents, Widening, Narrowing, Custom, Async +# Applicable to: IDE0036 +# One or more Visual Basic modifiers, such as Partial, Private, and Public + +visual_basic_style_prefer_isnot_expression = true +# Applicable to: IDE0084 +# true, false + +visual_basic_style_prefer_simplified_object_creation = true +# Applicable to: IDE0140 +# true, false + +visual_basic_style_unused_value_assignment_preference = unused_local_variable +# Applicable to: IDE0059 +# unused_local_variable + +visual_basic_style_unused_value_expression_statement_preference = unused_local_variable +# Applicable to: IDE0058 +# unused_local_variable + + +# dotnet formatting options dotnet_separate_import_directive_groups = false +# true, false + dotnet_sort_system_directives_first = true +# true, false + + +# csharp formatting options +csharp_indent_block_contents = true +# true, false + +csharp_indent_braces = false +# true, false + +csharp_indent_case_contents = true +# true, false + +csharp_indent_case_contents_when_block = true +# true, false + +csharp_indent_labels = no_change +# flush_left, one_less_than_current, no_change + +csharp_indent_switch_labels = true +# true, false -# this. and Me. preferences -dotnet_style_qualification_for_event = false:warning -dotnet_style_qualification_for_field = false:warning -dotnet_style_qualification_for_method = false:warning -dotnet_style_qualification_for_property = false:warning - -# Language keywords vs BCL types preferences -dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion -dotnet_style_predefined_type_for_member_access = true:suggestion - -# Parentheses preferences -dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning -dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning -dotnet_style_parentheses_in_other_operators = never_if_unnecessary:warning -dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning - -# Modifier preferences -dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion - -# Expression-level preferences -csharp_style_deconstructed_variable_declaration = true:warning -csharp_style_inlined_variable_declaration = true:warning -csharp_style_throw_expression = true:warning -dotnet_style_coalesce_expression = true:warning -dotnet_style_collection_initializer = true:warning -dotnet_style_explicit_tuple_names = true:warning -dotnet_style_null_propagation = true:warning -dotnet_style_object_initializer = true:warning -dotnet_style_prefer_auto_properties = true:suggestion -dotnet_style_prefer_compound_assignment = true:suggestion -dotnet_style_prefer_conditional_expression_over_assignment = true:suggestion -dotnet_style_prefer_conditional_expression_over_return = true:suggestion -dotnet_style_prefer_inferred_anonymous_type_member_names = true:warning -dotnet_style_prefer_inferred_tuple_names = true:warning -dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning - -# Field preferences -dotnet_style_readonly_field = true:warning - -# Parameter preferences -dotnet_code_quality_unused_parameters = non_public:suggestion - -#### C# Coding Conventions #### - -# var preferences -csharp_style_var_elsewhere = true:suggestion -csharp_style_var_for_built_in_types = true:suggestion -csharp_style_var_when_type_is_apparent = true:suggestion - -# Expression-bodied members -csharp_style_expression_bodied_accessors = true:suggestion -csharp_style_expression_bodied_constructors = true:suggestion -csharp_style_expression_bodied_indexers = true:suggestion -csharp_style_expression_bodied_lambdas = true:suggestion -csharp_style_expression_bodied_local_functions = true:suggestion -csharp_style_expression_bodied_methods = true:suggestion -csharp_style_expression_bodied_operators = true:suggestion -csharp_style_expression_bodied_properties = true:suggestion - -# Pattern matching preferences -csharp_style_pattern_matching_over_as_with_null_check = true:warning -csharp_style_pattern_matching_over_is_with_cast_check = true:warning -csharp_style_prefer_switch_expression = true:warning - -# Null-checking preferences -csharp_style_conditional_delegate_call = true:warning - -# Modifier preferences -csharp_prefer_static_local_function = true:warning -csharp_preferred_modifier_order = public, private, protected, internal, new, abstract, virtual, sealed, static, readonly, override, extern, unsafe, volatile, async:suggestion - -# Code-block preferences -csharp_prefer_braces = true:none -csharp_prefer_simple_using_statement = true:suggestion - -# Expression-level preferences -csharp_prefer_simple_default_expression = true:warning -csharp_style_pattern_local_over_anonymous_function = true:warning -csharp_style_prefer_index_operator = true:warning -csharp_style_prefer_range_operator = true:warning -csharp_style_unused_value_assignment_preference = discard_variable:suggestion -csharp_style_unused_value_expression_statement_preference = discard_variable:suggestion - -# 'using' directive preferences - -#### C# Formatting Rules #### - -# New line preferences csharp_new_line_before_catch = true +# true, false + csharp_new_line_before_else = true +# true, false + csharp_new_line_before_finally = true +# true, false + csharp_new_line_before_members_in_anonymous_types = true +# true, false + csharp_new_line_before_members_in_object_initializers = false +# true, false + csharp_new_line_before_open_brace = all +# all, none, accessors, anonymous_methods, anonymous_types, control_blocks, events, indexers,lambdas, local_functions, methods, object_collection_array_initializers, properties, types + csharp_new_line_between_query_expression_clauses = true +# true, false -# Indentation preferences -csharp_indent_block_contents = true -csharp_indent_braces = false -csharp_indent_case_contents = true -csharp_indent_case_contents_when_block = true -csharp_indent_labels = no_change -csharp_indent_switch_labels = true +csharp_preserve_single_line_blocks = true +# true, false + +csharp_preserve_single_line_statements = true +# true, false -# Space preferences csharp_space_after_cast = false +# true, false + csharp_space_after_colon_in_inheritance_clause = true +# true, false + csharp_space_after_comma = true +# true, false + csharp_space_after_dot = false +# true, false + csharp_space_after_keywords_in_control_flow_statements = true +# true, false + csharp_space_after_semicolon_in_for_statement = true +# true, false + csharp_space_around_binary_operators = before_and_after +# before_and_after, none, ignore + csharp_space_around_declaration_statements = false +# ignore, false + csharp_space_before_colon_in_inheritance_clause = true +# true, false + csharp_space_before_comma = false +# true, false + csharp_space_before_dot = false +# true, false + csharp_space_before_open_square_brackets = false +# true, false + csharp_space_before_semicolon_in_for_statement = false +# true, false + csharp_space_between_empty_square_brackets = false +# true, false + csharp_space_between_method_call_empty_parameter_list_parentheses = false +# true, false + csharp_space_between_method_call_name_and_opening_parenthesis = false +# true, false + csharp_space_between_method_call_parameter_list_parentheses = false +# true, false + csharp_space_between_method_declaration_empty_parameter_list_parentheses = false +# true, false + csharp_space_between_method_declaration_name_and_open_parenthesis = false +# true, false + csharp_space_between_method_declaration_parameter_list_parentheses = false +# true, false + csharp_space_between_parentheses = expressions -csharp_space_between_square_brackets = false +# control_flow_statements, expressions, type_casts -# Wrapping preferences -csharp_preserve_single_line_blocks = true -csharp_preserve_single_line_statements = true +csharp_space_between_square_brackets = false +# true, false + + +# global severity +# dotnet_analyzer_diagnostic.category-CodeQuality.severity = +# dotnet_analyzer_diagnostic.category-Design.severity = +# dotnet_analyzer_diagnostic.category-Documentation.severity = +# dotnet_analyzer_diagnostic.category-Globalization.severity = +# dotnet_analyzer_diagnostic.category-Interoperability.severity = +# dotnet_analyzer_diagnostic.category-Maintainability.severity = +# dotnet_analyzer_diagnostic.category-Naming.severity = +# dotnet_analyzer_diagnostic.category-Performance.severity = +# dotnet_analyzer_diagnostic.category-Reliability.severity = +# dotnet_analyzer_diagnostic.category-Security.severity = +# dotnet_analyzer_diagnostic.category-Style.severity = +# dotnet_analyzer_diagnostic.category-Usage.severity = #### Naming styles #### -# Naming rules +dotnet_naming_style.pascal_case.required_prefix = +dotnet_naming_style.pascal_case.required_suffix = +dotnet_naming_style.pascal_case.word_separator = +dotnet_naming_style.pascal_case.capitalization = pascal_case -dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion -dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface -dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i +dotnet_naming_style.camel_case.required_prefix = +dotnet_naming_style.camel_case.required_suffix = +dotnet_naming_style.camel_case.word_separator = +dotnet_naming_style.camel_case.capitalization = camel_case -dotnet_naming_rule.type_parameter_should_be_begins_with_t.severity = suggestion -dotnet_naming_rule.type_parameter_should_be_begins_with_t.symbols = type_parameter -dotnet_naming_rule.type_parameter_should_be_begins_with_t.style = begins_with_t +dotnet_naming_style.begins_with_i.required_prefix = I +dotnet_naming_style.begins_with_i.required_suffix = +dotnet_naming_style.begins_with_i.word_separator = +dotnet_naming_style.begins_with_i.capitalization = pascal_case -dotnet_naming_rule.locals_should_be_camel_case.severity = suggestion -dotnet_naming_rule.locals_should_be_camel_case.symbols = local -dotnet_naming_rule.locals_should_be_camel_case.style = camel_case +dotnet_naming_style.begins_with_t.required_prefix = T +dotnet_naming_style.begins_with_t.required_suffix = +dotnet_naming_style.begins_with_t.word_separator = +dotnet_naming_style.begins_with_t.capitalization = pascal_case -dotnet_naming_rule.static_field_should_be_pascal_case.severity = suggestion -dotnet_naming_rule.static_field_should_be_pascal_case.symbols = static_field -dotnet_naming_rule.static_field_should_be_pascal_case.style = pascal_case +dotnet_naming_symbols.constants_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected +dotnet_naming_symbols.constants_symbols.applicable_kinds = field +dotnet_naming_symbols.constants_symbols.required_modifiers = const + +dotnet_naming_rule.constants_rule.import_to_resharper = as_predefined +dotnet_naming_rule.constants_rule.resharper_style = AaBb, aaBb +dotnet_naming_rule.constants_rule.severity = suggestion +dotnet_naming_rule.constants_rule.style = pascal_case +dotnet_naming_rule.constants_rule.symbols = constants_symbols +dotnet_naming_symbols.const_field.applicable_kinds = field +dotnet_naming_symbols.const_field.applicable_accessibilities = * +dotnet_naming_symbols.const_field.required_modifiers = const + +dotnet_naming_rule.const_field_should_be_pascal_case.import_to_resharper = true +dotnet_naming_rule.const_field_should_be_pascal_case.resharper_description = const_field_should_be_pascal_case +dotnet_naming_rule.const_field_should_be_pascal_case.resharper_guid = 27af0a55-f4e1-46bc-9d79-134591675ffa dotnet_naming_rule.const_field_should_be_pascal_case.severity = suggestion dotnet_naming_rule.const_field_should_be_pascal_case.symbols = const_field dotnet_naming_rule.const_field_should_be_pascal_case.style = pascal_case -dotnet_naming_rule.private_field_members_should_be_underscore_camel_case.severity = suggestion -dotnet_naming_rule.private_field_members_should_be_underscore_camel_case.symbols = private_field -dotnet_naming_rule.private_field_members_should_be_underscore_camel_case.style = _camel_case +dotnet_naming_symbols.event_symbols.applicable_accessibilities = * +dotnet_naming_symbols.event_symbols.applicable_kinds = event +dotnet_naming_symbols.event_symbols.resharper_applicable_kinds = event +dotnet_naming_symbols.event_symbols.resharper_required_modifiers = any + +dotnet_naming_rule.event_rule.import_to_resharper = true +dotnet_naming_rule.event_rule.resharper_description = Event +dotnet_naming_rule.event_rule.resharper_guid = 8ba6904e-f415-4563-b06d-f9c4a22b5368 +dotnet_naming_rule.event_rule.severity = suggestion +dotnet_naming_rule.event_rule.style = pascal_case +dotnet_naming_rule.event_rule.symbols = event_symbols + +dotnet_naming_symbols.field.applicable_kinds = field +dotnet_naming_symbols.field.applicable_accessibilities = public, protected, internal, protected_internal, private_protected +dotnet_naming_symbols.field.required_modifiers = +dotnet_naming_rule.field_should_be_camel_case.import_to_resharper = as_predefined dotnet_naming_rule.field_should_be_camel_case.severity = suggestion dotnet_naming_rule.field_should_be_camel_case.symbols = field dotnet_naming_rule.field_should_be_camel_case.style = camel_case -dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion -dotnet_naming_rule.types_should_be_pascal_case.symbols = types -dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case - -dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion -dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members -dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case - -# Symbol specifications - -dotnet_naming_symbols.interface.applicable_kinds = interface -dotnet_naming_symbols.interface.applicable_accessibilities = * -dotnet_naming_symbols.interface.required_modifiers = +dotnet_naming_symbols.interfaces_symbols.applicable_accessibilities = * +dotnet_naming_symbols.interfaces_symbols.applicable_kinds = interface +dotnet_naming_symbols.interfaces_symbols.resharper_applicable_kinds = interface +dotnet_naming_symbols.interfaces_symbols.resharper_required_modifiers = any + +dotnet_naming_rule.interfaces_rule.import_to_resharper = true +dotnet_naming_rule.interfaces_rule.resharper_description = Interfaces +dotnet_naming_rule.interfaces_rule.resharper_guid = 903d2bf9-e112-4da9-9936-d1aa378a0c9a +dotnet_naming_rule.interfaces_rule.severity = suggestion +dotnet_naming_rule.interfaces_rule.style = begins_with_i +dotnet_naming_rule.interfaces_rule.symbols = interfaces_symbols + +dotnet_naming_symbols.locals_symbols.import_to_resharper = as_predefined +dotnet_naming_symbols.locals_symbols.applicable_accessibilities = * +dotnet_naming_symbols.locals_symbols.applicable_kinds = local +dotnet_naming_symbols.locals_symbols.resharper_applicable_kinds = local_variable +dotnet_naming_symbols.locals_symbols.resharper_required_modifiers = any + +dotnet_naming_rule.locals_rule.import_to_resharper = true +dotnet_naming_rule.locals_rule.resharper_description = Locals +dotnet_naming_rule.locals_rule.resharper_guid = ccfc9f7c-73a7-4c09-84d4-738c2928dc25 +dotnet_naming_rule.locals_rule.severity = suggestion +dotnet_naming_rule.locals_rule.style = camel_case +dotnet_naming_rule.locals_rule.symbols = locals_symbols dotnet_naming_symbols.local.applicable_kinds = local, local_function dotnet_naming_symbols.local.applicable_accessibilities = * dotnet_naming_symbols.local.required_modifiers = -dotnet_naming_symbols.type_parameter.applicable_kinds = type_parameter -dotnet_naming_symbols.type_parameter.applicable_accessibilities = * -dotnet_naming_symbols.type_parameter.required_modifiers = -dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum, delegate -dotnet_naming_symbols.types.applicable_accessibilities = * -dotnet_naming_symbols.types.required_modifiers = + +dotnet_naming_rule.locals_should_be_camel_case.import_to_resharper = true +dotnet_naming_rule.locals_should_be_camel_case.resharper_description = locals_should_be_camel_case +dotnet_naming_rule.locals_should_be_camel_case.resharper_guid = d8baf024-3f69-46f8-8808-49d328121492 +dotnet_naming_rule.locals_should_be_camel_case.severity = suggestion +dotnet_naming_rule.locals_should_be_camel_case.symbols = local +dotnet_naming_rule.locals_should_be_camel_case.style = camel_case + +dotnet_naming_symbols.local_constants_symbols.applicable_accessibilities = * +dotnet_naming_symbols.local_constants_symbols.applicable_kinds = local +dotnet_naming_symbols.local_constants_symbols.required_modifiers = const +dotnet_naming_symbols.local_constants_symbols.resharper_applicable_kinds = local_constant +dotnet_naming_symbols.local_constants_symbols.resharper_required_modifiers = any + +dotnet_naming_rule.local_constants_rule.import_to_resharper = true +dotnet_naming_rule.local_constants_rule.resharper_description = LocalConstants +dotnet_naming_rule.local_constants_rule.resharper_guid = 307b234d-2464-49eb-93b6-23ebd7658b91 +dotnet_naming_rule.local_constants_rule.severity = suggestion +dotnet_naming_rule.local_constants_rule.style = camel_case +dotnet_naming_rule.local_constants_rule.symbols = local_constants_symbols + +dotnet_naming_symbols.local_functions_symbols.applicable_accessibilities = * +dotnet_naming_symbols.local_functions_symbols.applicable_kinds = local_function +dotnet_naming_symbols.local_functions_symbols.resharper_applicable_kinds = local_function +dotnet_naming_symbols.local_functions_symbols.resharper_required_modifiers = any + +dotnet_naming_rule.local_functions_rule.import_to_resharper = true +dotnet_naming_rule.local_functions_rule.resharper_description = LocalFunctions +dotnet_naming_rule.local_functions_rule.resharper_guid = e073ca3c-9b60-4c32-86c2-2c62711d40ff +dotnet_naming_rule.local_functions_rule.severity = suggestion +dotnet_naming_rule.local_functions_rule.style = camel_case +dotnet_naming_rule.local_functions_rule.symbols = local_functions_symbols + +dotnet_naming_symbols.method_symbols.applicable_accessibilities = * +dotnet_naming_symbols.method_symbols.applicable_kinds = method +dotnet_naming_symbols.method_symbols.resharper_applicable_kinds = method +dotnet_naming_symbols.method_symbols.resharper_required_modifiers = any + +dotnet_naming_rule.method_rule.import_to_resharper = true +dotnet_naming_rule.method_rule.resharper_description = Method +dotnet_naming_rule.method_rule.resharper_guid = e0bd13f1-ec9d-408b-baee-bba34db87d92 +dotnet_naming_rule.method_rule.severity = suggestion +dotnet_naming_rule.method_rule.style = pascal_case +dotnet_naming_rule.method_rule.symbols = method_symbols + dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method dotnet_naming_symbols.non_field_members.applicable_accessibilities = * dotnet_naming_symbols.non_field_members.required_modifiers = + +dotnet_naming_rule.non_field_members_should_be_pascal_case.import_to_resharper = true +dotnet_naming_rule.non_field_members_should_be_pascal_case.resharper_description = non_field_members_should_be_pascal_case +dotnet_naming_rule.non_field_members_should_be_pascal_case.resharper_guid = 9bcd52d1-0899-4eb1-a70f-ef70ce155425 +dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion +dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members +dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case + +dotnet_naming_symbols.private_constants_symbols.applicable_accessibilities = private +dotnet_naming_symbols.private_constants_symbols.applicable_kinds = field +dotnet_naming_symbols.private_constants_symbols.required_modifiers = const + +dotnet_naming_rule.private_constants_rule.import_to_resharper = as_predefined +dotnet_naming_rule.private_constants_rule.resharper_style = AaBb, _ + aaBb +dotnet_naming_rule.private_constants_rule.severity = suggestion +dotnet_naming_rule.private_constants_rule.style = pascal_case +dotnet_naming_rule.private_constants_rule.symbols = private_constants_symbols + dotnet_naming_symbols.private_field.applicable_kinds = field dotnet_naming_symbols.private_field.applicable_accessibilities = private, private_protected dotnet_naming_symbols.private_field.required_modifiers = -dotnet_naming_symbols.field.applicable_kinds = field -dotnet_naming_symbols.field.applicable_accessibilities = public, protected, internal, protected_internal, private_protected -dotnet_naming_symbols.field.required_modifiers = + +dotnet_naming_rule.private_field_members_should_be_underscore_camel_case.import_to_resharper = true +dotnet_naming_rule.private_field_members_should_be_underscore_camel_case.resharper_description = private_field_members_should_be_underscore_camel_case +dotnet_naming_rule.private_field_members_should_be_underscore_camel_case.resharper_guid = cd60d07f-46cf-4df5-b2fe-8979b0be86a6 +dotnet_naming_rule.private_field_members_should_be_underscore_camel_case.severity = suggestion +dotnet_naming_rule.private_field_members_should_be_underscore_camel_case.symbols = private_field +dotnet_naming_rule.private_field_members_should_be_underscore_camel_case.style = camel_case + +dotnet_naming_symbols.private_instance_fields_symbols.applicable_accessibilities = local,private +dotnet_naming_symbols.private_instance_fields_symbols.applicable_kinds = field +dotnet_naming_symbols.private_instance_fields_symbols.resharper_applicable_kinds = field,readonly_field +dotnet_naming_symbols.private_instance_fields_symbols.resharper_required_modifiers = instance + +dotnet_naming_rule.private_instance_fields_rule.import_to_resharper = true +dotnet_naming_rule.private_instance_fields_rule.resharper_description = PrivateInstanceFields +dotnet_naming_rule.private_instance_fields_rule.resharper_guid = 55b310ff-8182-4b42-80a2-71190f858154 +dotnet_naming_rule.private_instance_fields_rule.severity = suggestion +dotnet_naming_rule.private_instance_fields_rule.style = camel_case +dotnet_naming_rule.private_instance_fields_rule.symbols = private_instance_fields_symbols + +dotnet_naming_symbols.private_static_fields_override_symbols.applicable_accessibilities = local,private +dotnet_naming_symbols.private_static_fields_override_symbols.applicable_kinds = field +dotnet_naming_symbols.private_static_fields_override_symbols.required_modifiers = const,static + +dotnet_naming_rule.private_static_fields_override_rule.import_to_resharper = False +dotnet_naming_rule.private_static_fields_override_rule.resharper_style = AaBb, _ + aaBb +dotnet_naming_rule.private_static_fields_override_rule.severity = suggestion +dotnet_naming_rule.private_static_fields_override_rule.style = pascal_case +dotnet_naming_rule.private_static_fields_override_rule.symbols = private_static_fields_override_symbols + +dotnet_naming_symbols.private_static_fields_symbols.applicable_accessibilities = local,private +dotnet_naming_symbols.private_static_fields_symbols.applicable_kinds = field +dotnet_naming_symbols.private_static_fields_symbols.required_modifiers = static +dotnet_naming_symbols.private_static_fields_symbols.resharper_applicable_kinds = field +dotnet_naming_symbols.private_static_fields_symbols.resharper_required_modifiers = static + +dotnet_naming_rule.private_static_fields_rule.import_to_resharper = true +dotnet_naming_rule.private_static_fields_rule.resharper_description = PrivateStaticFields +dotnet_naming_rule.private_static_fields_rule.resharper_guid = 0340ebab-0163-4789-a557-a8c34cb1f90d +dotnet_naming_rule.private_static_fields_rule.severity = suggestion +dotnet_naming_rule.private_static_fields_rule.style = camel_case +dotnet_naming_rule.private_static_fields_rule.symbols = private_static_fields_symbols + dotnet_naming_symbols.static_field.applicable_kinds = field dotnet_naming_symbols.static_field.applicable_accessibilities = dotnet_naming_symbols.static_field.required_modifiers = static -dotnet_naming_symbols.const_field.applicable_kinds = field -dotnet_naming_symbols.const_field.applicable_accessibilities = * -dotnet_naming_symbols.const_field.required_modifiers = const +dotnet_naming_rule.static_field_should_be_pascal_case.severity = suggestion +dotnet_naming_rule.static_field_should_be_pascal_case.symbols = static_field +dotnet_naming_rule.static_field_should_be_pascal_case.style = pascal_case -# Naming styles +dotnet_naming_symbols.static_readonly_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected +dotnet_naming_symbols.static_readonly_symbols.applicable_kinds = field +dotnet_naming_symbols.static_readonly_symbols.required_modifiers = static,readonly + +dotnet_naming_rule.static_readonly_rule.import_to_resharper = as_predefined +dotnet_naming_rule.static_readonly_rule.severity = suggestion +dotnet_naming_rule.static_readonly_rule.style = camel_case +dotnet_naming_rule.static_readonly_rule.symbols = static_readonly_symbols + +dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities = private +dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds = field +dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = static,readonly + +dotnet_naming_rule.private_static_readonly_rule.import_to_resharper = as_predefined +dotnet_naming_rule.private_static_readonly_rule.severity = suggestion +dotnet_naming_rule.private_static_readonly_rule.style = _camel_case +dotnet_naming_rule.private_static_readonly_rule.symbols = private_static_readonly_symbols + +dotnet_naming_symbols.property_symbols.applicable_accessibilities = * +dotnet_naming_symbols.property_symbols.applicable_kinds = property +dotnet_naming_symbols.property_symbols.resharper_applicable_kinds = property +dotnet_naming_symbols.property_symbols.resharper_required_modifiers = any + +dotnet_naming_rule.property_rule.import_to_resharper = true +dotnet_naming_rule.property_rule.resharper_description = Property +dotnet_naming_rule.property_rule.resharper_guid = 1431d102-1749-4437-801e-62d27014d538 +dotnet_naming_rule.property_rule.severity = suggestion +dotnet_naming_rule.property_rule.style = pascal_case +dotnet_naming_rule.property_rule.symbols = property_symbols + +dotnet_naming_symbols.public_fields_instance_symbols.applicable_accessibilities = local,public,internal,protected,protected_internal,private_protected +dotnet_naming_symbols.public_fields_instance_symbols.applicable_kinds = field +dotnet_naming_symbols.public_fields_instance_symbols.resharper_applicable_kinds = field,readonly_field +dotnet_naming_symbols.public_fields_instance_symbols.resharper_required_modifiers = instance + +dotnet_naming_rule.public_fields_instance_rule.import_to_resharper = true +dotnet_naming_rule.public_fields_instance_rule.resharper_description = PublicFieldsInstance +dotnet_naming_rule.public_fields_instance_rule.resharper_guid = 63e9f6f8-2fe3-4dd5-8c78-cbbffc2e33c5 +dotnet_naming_rule.public_fields_instance_rule.severity = suggestion +dotnet_naming_rule.public_fields_instance_rule.style = camel_case +dotnet_naming_rule.public_fields_instance_rule.symbols = public_fields_instance_symbols + +dotnet_naming_symbols.public_fields_static_override_symbols.applicable_accessibilities = local,public,internal,protected,protected_internal,private_protected +dotnet_naming_symbols.public_fields_static_override_symbols.applicable_kinds = field +dotnet_naming_symbols.public_fields_static_override_symbols.required_modifiers = const,static + +dotnet_naming_rule.public_fields_static_override_rule.import_to_resharper = False +dotnet_naming_rule.public_fields_static_override_rule.resharper_style = AaBb, aaBb +dotnet_naming_rule.public_fields_static_override_rule.severity = suggestion +dotnet_naming_rule.public_fields_static_override_rule.style = pascal_case +dotnet_naming_rule.public_fields_static_override_rule.symbols = public_fields_static_override_symbols + +dotnet_naming_symbols.public_fields_static_symbols.applicable_accessibilities = local,public,internal,protected,protected_internal,private_protected +dotnet_naming_symbols.public_fields_static_symbols.applicable_kinds = field +dotnet_naming_symbols.public_fields_static_symbols.required_modifiers = static +dotnet_naming_symbols.public_fields_static_symbols.resharper_applicable_kinds = field +dotnet_naming_symbols.public_fields_static_symbols.resharper_required_modifiers = static + +dotnet_naming_rule.public_fields_static_rule.import_to_resharper = true +dotnet_naming_rule.public_fields_static_rule.resharper_description = PublicFieldsStatic +dotnet_naming_rule.public_fields_static_rule.resharper_guid = 4d6f03af-7a77-4c49-b199-6569a7d9735a +dotnet_naming_rule.public_fields_static_rule.severity = suggestion +dotnet_naming_rule.public_fields_static_rule.style = camel_case +dotnet_naming_rule.public_fields_static_rule.symbols = public_fields_static_symbols + +dotnet_naming_symbols.types_and_namespaces_symbols.applicable_accessibilities = * +dotnet_naming_symbols.types_and_namespaces_symbols.applicable_kinds = namespace,class,struct,enum,delegate +dotnet_naming_symbols.types_and_namespaces_symbols.applicable_accessibilities = * +dotnet_naming_symbols.types_and_namespaces_symbols.applicable_kinds = namespace,class,struct,enum,delegate +dotnet_naming_symbols.types_and_namespaces_symbols.resharper_applicable_kinds = namespace,class,struct,enum,delegate +dotnet_naming_symbols.types_and_namespaces_symbols.resharper_required_modifiers = any + +dotnet_naming_rule.types_and_namespaces_rule.import_to_resharper = true +dotnet_naming_rule.types_and_namespaces_rule.resharper_description = TypesAndNamespaces +dotnet_naming_rule.types_and_namespaces_rule.resharper_guid = 0a6a56d2-979e-4bff-9381-5bc2a166009a +dotnet_naming_rule.types_and_namespaces_rule.severity = suggestion +dotnet_naming_rule.types_and_namespaces_rule.style = pascal_case +dotnet_naming_rule.types_and_namespaces_rule.symbols = types_and_namespaces_symbols -# dotnet_naming_style.pascal_case.required_prefix = -# dotnet_naming_style.pascal_case.required_suffix = -# dotnet_naming_style.pascal_case.word_separator = -dotnet_naming_style.pascal_case.capitalization = pascal_case +dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum, delegate +dotnet_naming_symbols.types.applicable_accessibilities = * +dotnet_naming_symbols.types.required_modifiers = -# dotnet_naming_style.camel_case.required_prefix = -# dotnet_naming_style.camel_case.required_suffix = -# dotnet_naming_style.camel_case.word_separator = -dotnet_naming_style.camel_case.capitalization = camel_case +dotnet_naming_rule.types_should_be_pascal_case.import_to_resharper = true +dotnet_naming_rule.types_should_be_pascal_case.resharper_description = types_should_be_pascal_case +dotnet_naming_rule.types_should_be_pascal_case.resharper_guid = 0fc27715-3a4f-4d67-bf17-dc8b6680ce65 +dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion +dotnet_naming_rule.types_should_be_pascal_case.symbols = types +dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case -dotnet_naming_style._camel_case.required_prefix = _ -# dotnet_naming_style._camel_case.required_suffix = -# dotnet_naming_style._camel_case.word_separator = -dotnet_naming_style._camel_case.capitalization = camel_case +dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = * +dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds = +dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds = unity_serialised_field +dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers = instance -dotnet_naming_style.begins_with_i.required_prefix = I -# dotnet_naming_style.begins_with_i.required_suffix = -# dotnet_naming_style.begins_with_i.word_separator = -dotnet_naming_style.begins_with_i.capitalization = pascal_case +dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper = true +dotnet_naming_rule.unity_serialized_field_rule.resharper_description = Unity serialized field +dotnet_naming_rule.unity_serialized_field_rule.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef +dotnet_naming_rule.unity_serialized_field_rule.severity = warning +dotnet_naming_rule.unity_serialized_field_rule.style = camel_case +dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols -dotnet_naming_style.begins_with_t.required_prefix = T -# dotnet_naming_style.begins_with_t.required_suffix = -# dotnet_naming_style.begins_with_t.word_separator = -dotnet_naming_style.begins_with_t.capitalization = pascal_case +dotnet_naming_symbols.type_parameter.applicable_kinds = type_parameter +dotnet_naming_symbols.type_parameter.applicable_accessibilities = * +dotnet_naming_symbols.type_parameter.required_modifiers = -dotnet_diagnostic.ide0058.severity = none +dotnet_naming_rule.type_parameter_should_be_begins_with_t.import_to_resharper = as_predefined +dotnet_naming_rule.type_parameter_should_be_begins_with_t.severity = suggestion +dotnet_naming_rule.type_parameter_should_be_begins_with_t.symbols = type_parameter +dotnet_naming_rule.type_parameter_should_be_begins_with_t.style = begins_with_t + +# Naming rules + +# Symbol specifications + +# CS0436: Compiler Warning (level 2) CS0436 dotnet_diagnostic.cs0436.severity = none -dotnet_diagnostic.RCS1008.severity = none -# CodeQuality # CA1000: Do not declare static members on generic types -# dotnet_diagnostic.CA1000.severity = warning +dotnet_diagnostic.CA1000.severity = none +# Options: api_surface +dotnet_code_quality.CA1000.api_surface = public # public, internal, friend, all # CA1001: Types that own disposable fields should be disposable -# dotnet_diagnostic.CA1001.severity = warning +dotnet_diagnostic.CA1001.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA1001.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA1001.excluded_symbol_names = + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = none +# Options: api_surface +dotnet_code_quality.CA1002.api_surface = public # public, internal, friend, all # CA1003: Use generic event handler instances -# dotnet_diagnostic.CA1003.severity = none +dotnet_diagnostic.CA1003.severity = none +# Options: api_surface +dotnet_code_quality.CA1003.api_surface = public # public, internal, friend, all + +# CA1005: Avoid excessive parameters on generic types +dotnet_diagnostic.CA1005.severity = none +# Options: api_surface +dotnet_code_quality.CA1005.api_surface = public # public, internal, friend, all # CA1008: Enums should have zero value -# dotnet_diagnostic.CA1008.severity = none +dotnet_diagnostic.CA1008.severity = none +# Options: api_surface, additional_enum_none_names +dotnet_code_quality.CA1008.api_surface = public # public, internal, friend, all # CA1010: Collections should implement generic interface -# dotnet_diagnostic.CA1010.severity = warning +dotnet_diagnostic.CA1010.severity = none +# Options: api_surface, additional_required_generic_interfaces +dotnet_code_quality.CA1010.api_surface = public # public, internal, friend, all -# CA1012: Abstract types should not have constructors -# dotnet_diagnostic.CA1012.severity = none +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = none +# Options: api_surface +dotnet_code_quality.CA1012.api_surface = public # public, internal, friend, all -# CA1014: Mark assemblies with CLSCompliant -# dotnet_diagnostic.CA1014.severity = none +# CA1014: Mark assemblies with CLSCompliantAttribute +dotnet_diagnostic.CA1014.severity = none -# CA1016: Mark assemblies with assembly version -# dotnet_diagnostic.CA1016.severity = warning +# CA1016: Mark assemblies with AssemblyVersionAttribute +dotnet_diagnostic.CA1016.severity = none -# CA1017: Mark assemblies with ComVisible -# dotnet_diagnostic.CA1017.severity = none +# CA1017: Mark assemblies with Mark assemblies with ComVisibleAttribute +dotnet_diagnostic.CA1017.severity = none # CA1018: Mark attributes with AttributeUsageAttribute -# dotnet_diagnostic.CA1018.severity = warning +dotnet_diagnostic.CA1018.severity = none # CA1019: Define accessors for attribute arguments -# dotnet_diagnostic.CA1019.severity = none +dotnet_diagnostic.CA1019.severity = none + +# CA1021: Avoid out parameters +dotnet_diagnostic.CA1021.severity = none +# Options: api_surface +dotnet_code_quality.CA1021.api_surface = public # public, internal, friend, all # CA1024: Use properties where appropriate -# dotnet_diagnostic.CA1024.severity = none +dotnet_diagnostic.CA1024.severity = none +# Options: api_surface +dotnet_code_quality.CA1024.api_surface = public # public, internal, friend, all # CA1027: Mark enums with FlagsAttribute -# dotnet_diagnostic.CA1027.severity = none +dotnet_diagnostic.CA1027.severity = none +# Options: api_surface +dotnet_code_quality.CA1027.api_surface = public # public, internal, friend, all -# CA1028: Enum Storage should be Int32 -# dotnet_diagnostic.CA1028.severity = warning +# CA1028: Enum storage should be Int32 +dotnet_diagnostic.CA1028.severity = none +# Options: api_surface +dotnet_code_quality.CA1028.api_surface = public # public, internal, friend, all # CA1030: Use events where appropriate -# dotnet_diagnostic.CA1030.severity = warning +dotnet_diagnostic.CA1030.severity = none +# Options: api_surface +dotnet_code_quality.CA1030.api_surface = public # public, internal, friend, all # CA1031: Do not catch general exception types -# dotnet_diagnostic.CA1031.severity = warning +dotnet_diagnostic.CA1031.severity = none +# Options: disallowed_symbol_names +# dotnet_code_quality.CA1031.disallowed_symbol_names = # CA1032: Implement standard exception constructors -# dotnet_diagnostic.CA1032.severity = warning +dotnet_diagnostic.CA1032.severity = none # CA1033: Interface methods should be callable by child types -# dotnet_diagnostic.CA1033.severity = none +dotnet_diagnostic.CA1033.severity = none # CA1034: Nested types should not be visible dotnet_diagnostic.CA1034.severity = none # CA1036: Override methods on comparable types -# dotnet_diagnostic.CA1036.severity = warning +dotnet_diagnostic.CA1036.severity = none +# Options: api_surface +dotnet_code_quality.CA1036.api_surface = public # public, internal, friend, all # CA1040: Avoid empty interfaces -# dotnet_diagnostic.CA1040.severity = warning +dotnet_diagnostic.CA1040.severity = none +# Options: api_surface +dotnet_code_quality.CA1040.api_surface = public # public, internal, friend, all # CA1041: Provide ObsoleteAttribute message -# dotnet_diagnostic.CA1041.severity = warning +dotnet_diagnostic.CA1041.severity = none +# Options: api_surface +dotnet_code_quality.CA1041.api_surface = public # public, internal, friend, all -# CA1043: Use Integral Or String Argument For Indexers -# dotnet_diagnostic.CA1043.severity = warning +# CA1043: Use integral or string argument for indexers +dotnet_diagnostic.CA1043.severity = none +# Options: api_surface +dotnet_code_quality.CA1043.api_surface = public # public, internal, friend, all # CA1044: Properties should not be write only -# dotnet_diagnostic.CA1044.severity = warning +dotnet_diagnostic.CA1044.severity = none +# Options: api_surface +dotnet_code_quality.CA1044.api_surface = public # public, internal, friend, all + +# CA1045: Do not pass types by reference +dotnet_diagnostic.CA1045.severity = none +# Options: api_surface +dotnet_code_quality.CA1045.api_surface = public # public, internal, friend, all + +# CA1046: Do not overload operator equals on reference types +dotnet_diagnostic.CA1046.severity = none +# Options: api_surface +dotnet_code_quality.CA1046.api_surface = public # public, internal, friend, all + +# CA1047: Do not declare protected members in sealed types +dotnet_diagnostic.CA1047.severity = none +# Options: api_surface +dotnet_code_quality.CA1047.api_surface = public # public, internal, friend, all # CA1050: Declare types in namespaces -# dotnet_diagnostic.CA1050.severity = none +dotnet_diagnostic.CA1050.severity = none # CA1051: Do not declare visible instance fields -# dotnet_diagnostic.CA1051.severity = warning +dotnet_diagnostic.CA1051.severity = none +# Options: api_surface, exclude_structs +dotnet_code_quality.CA1051.api_surface = public # public, internal, friend, all # CA1052: Static holder types should be Static or NotInheritable -# dotnet_diagnostic.CA1052.severity = warning +dotnet_diagnostic.CA1052.severity = none +# Options: api_surface +dotnet_code_quality.CA1052.api_surface = public # public, internal, friend, all + +# CA1053: Static holder types should not have default constructors +dotnet_diagnostic.CA1053.severity = none + +# CA1054: URI parameters should not be strings +dotnet_diagnostic.CA1054.severity = none +# Options: api_surface, excluded_symbol_names, excluded_type_names_with_derived_types +dotnet_code_quality.CA1054.api_surface = public # public, internal, friend, all +# dotnet_code_quality.CA1054.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA1054.excluded_symbol_names = + +# CA1055: URI return values should not be strings +dotnet_diagnostic.CA1055.severity = none +# Options: api_surface, excluded_symbol_names, excluded_type_names_with_derived_types +dotnet_code_quality.CA1055.api_surface = public # public, internal, friend, all +# dotnet_code_quality.CA1055.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA1055.excluded_symbol_names = + +# CA1056: URI properties should not be strings +dotnet_diagnostic.CA1056.severity = none +# Options: api_surface, excluded_symbol_names, excluded_type_names_with_derived_types +dotnet_code_quality.CA1056.api_surface = public # public, internal, friend, all +# dotnet_code_quality.CA1056.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA1056.excluded_symbol_names = -# CA1054: Uri parameters should not be strings -# dotnet_diagnostic.CA1054.severity = warning - -# CA1055: Uri return values should not be strings -# dotnet_diagnostic.CA1055.severity = warning - -# CA1056: Uri properties should not be strings -# dotnet_diagnostic.CA1056.severity = warning +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = none +# Options: api_surface +dotnet_code_quality.CA1058.api_surface = public # public, internal, friend, all -# CA1060: Move pinvokes to native methods class -# dotnet_diagnostic.CA1060.severity = none +# CA1060: Move P/Invokes to NativeMethods class +dotnet_diagnostic.CA1060.severity = none # CA1061: Do not hide base class methods -# dotnet_diagnostic.CA1061.severity = warning +dotnet_diagnostic.CA1061.severity = none # CA1062: Validate arguments of public methods -dotnet_diagnostic.ca1062.severity = none - -# CA1063: Implement IDisposable Correctly -# dotnet_diagnostic.CA1063.severity = none +dotnet_diagnostic.CA1062.severity = none +# Options: api_surface, excluded_symbol_names, excluded_type_names_with_derived_types, exclude_extension_method_this_parameter, null_check_validation_methods +dotnet_code_quality.CA1062.api_surface = public # public, internal, friend, all +dotnet_code_quality.CA1062.exclude_extension_method_this_parameter = false # true, false +# dotnet_code_quality.CA1062.null_check_validation_methods = +# dotnet_code_quality.CA1062.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA1062.excluded_symbol_names = + +# CA1063: Implement IDisposable correctly +dotnet_diagnostic.CA1063.severity = none +# Options: api_surface +dotnet_code_quality.CA1063.api_surface = public # public, internal, friend, all # CA1064: Exceptions should be public -# dotnet_diagnostic.CA1064.severity = warning +dotnet_diagnostic.CA1064.severity = none # CA1065: Do not raise exceptions in unexpected locations -# dotnet_diagnostic.CA1065.severity = warning +dotnet_diagnostic.CA1065.severity = none -# CA1066: Type {0} should implement IEquatable because it overrides Equals -# dotnet_diagnostic.CA1066.severity = warning +# CA1066: Implement IEquatable when overriding Equals +dotnet_diagnostic.CA1066.severity = none -# CA1067: Override Object.Equals(object) when implementing IEquatable -# dotnet_diagnostic.CA1067.severity = warning +# CA1067: Override Equals when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none # CA1068: CancellationToken parameters must come last -# dotnet_diagnostic.CA1068.severity = warning +dotnet_diagnostic.CA1068.severity = none +# Options: api_surface, excluded_symbol_names, excluded_type_names_with_derived_types +dotnet_code_quality.CA1068.api_surface = public # public, internal, friend, all +# dotnet_code_quality.CA1068.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA1068.excluded_symbol_names = + +# CA1069: Enums should not have duplicate values +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none +# Options: api_surface +dotnet_code_quality.CA1070.api_surface = public # public, internal, friend, all # CA1200: Avoid using cref tags with a prefix -# dotnet_diagnostic.CA1200.severity = warning +dotnet_diagnostic.CA1200.severity = none + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types, use_naming_heuristic +# dotnet_code_quality.CA1303.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA1303.excluded_symbol_names = + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA1304.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA1304.excluded_symbol_names = + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA1305.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA1305.excluded_symbol_names = + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = none + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = none + +# CA1309: Use ordinal StringComparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = warning + +# CA1417: Do not use OutAttribute on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = warning + +# CA1418: Validate platform compatibility +dotnet_diagnostic.CA1418.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = warning + +# CA1421: Method uses runtime marshalling when DisableRuntimeMarshallingAttribute is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility - obsoleted APIs +dotnet_diagnostic.CA1422.severity = warning # CA1501: Avoid excessive inheritance -# dotnet_diagnostic.CA1501.severity = none +dotnet_diagnostic.CA1501.severity = none +# Options: additional_inheritance_excluded_symbol_names # CA1502: Avoid excessive complexity -# dotnet_diagnostic.CA1502.severity = none +dotnet_diagnostic.CA1502.severity = none # CA1505: Avoid unmaintainable code -# dotnet_diagnostic.CA1505.severity = none +dotnet_diagnostic.CA1505.severity = none # CA1506: Avoid excessive class coupling -# dotnet_diagnostic.CA1506.severity = none +dotnet_diagnostic.CA1506.severity = none -# CA1507: Use nameof to express symbol names -# dotnet_diagnostic.CA1507.severity = warning +# CA1507: Use nameof in place of string +dotnet_diagnostic.CA1507.severity = none # CA1508: Avoid dead conditional code -# dotnet_diagnostic.CA1508.severity = none +dotnet_diagnostic.CA1508.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA1508.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA1508.excluded_symbol_names = -# CA1509: Invalid entry in code metrics rule specification file -# dotnet_diagnostic.CA1509.severity = none +# CA1509: Invalid entry in code metrics configuration file +dotnet_diagnostic.CA1509.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = none +# Options: api_surface +dotnet_code_quality.CA1700.api_surface = public # public, internal, friend, all # CA1707: Identifiers should not contain underscores -# dotnet_diagnostic.CA1707.severity = none +dotnet_diagnostic.CA1707.severity = none +# Options: api_surface +dotnet_code_quality.CA1707.api_surface = public # public, internal, friend, all # CA1708: Identifiers should differ by more than case -# dotnet_diagnostic.CA1708.severity = none +dotnet_diagnostic.CA1708.severity = none +# Options: api_surface +dotnet_code_quality.CA1708.api_surface = public # public, internal, friend, all # CA1710: Identifiers should have correct suffix -# dotnet_diagnostic.CA1710.severity = warning +dotnet_diagnostic.CA1710.severity = none +# Options: api_surface, exclude_indirect_base_types, additional_required_suffixes +dotnet_code_quality.CA1710.api_surface = public # public, internal, friend, all # CA1711: Identifiers should not have incorrect suffix -# dotnet_diagnostic.CA1711.severity = none +dotnet_diagnostic.CA1711.severity = none +# Options: api_surface, allowed_suffixes +dotnet_code_quality.CA1711.api_surface = public # public, internal, friend, all # CA1712: Do not prefix enum values with type name -# dotnet_diagnostic.CA1712.severity = warning +dotnet_diagnostic.CA1712.severity = none +# Options: enum_values_prefix_trigger + +# CA1713: Events should not have before or after prefix +dotnet_diagnostic.CA1713.severity = none # CA1714: Flags enums should have plural names -# dotnet_diagnostic.CA1714.severity = warning +dotnet_diagnostic.CA1714.severity = none +# Options: api_surface +dotnet_code_quality.CA1714.api_surface = public # public, internal, friend, all # CA1715: Identifiers should have correct prefix -# dotnet_diagnostic.CA1715.severity = warning +dotnet_diagnostic.CA1715.severity = none +# Options: api_surface, exclude_single_letter_type_parameters, allow_single_letter_type_parameters +dotnet_code_quality.CA1715.api_surface = public # public, internal, friend, all +dotnet_code_quality.CA1715.exclude_single_letter_type_parameters = false # true, false # CA1716: Identifiers should not match keywords -# dotnet_diagnostic.CA1716.severity = warning +dotnet_diagnostic.CA1716.severity = none +# Options: api_surface, analyzed_symbol_kinds +dotnet_code_quality.CA1716.api_surface = public # public, internal, friend, all # CA1717: Only FlagsAttribute enums should have plural names -# dotnet_diagnostic.CA1717.severity = warning +dotnet_diagnostic.CA1717.severity = none +# Options: api_surface +dotnet_code_quality.CA1717.api_surface = public # public, internal, friend, all -# CA1720: Identifier contains type name -# dotnet_diagnostic.CA1720.severity = warning +# CA1720: Identifiers should not contain type names +dotnet_diagnostic.CA1720.severity = none +# Options: api_surface +dotnet_code_quality.CA1720.api_surface = public # public, internal, friend, all # CA1721: Property names should not match get methods -# dotnet_diagnostic.CA1721.severity = warning +dotnet_diagnostic.CA1721.severity = none +# Options: api_surface +dotnet_code_quality.CA1721.api_surface = public # public, internal, friend, all # CA1724: Type names should not match namespaces -# dotnet_diagnostic.CA1724.severity = warning +dotnet_diagnostic.CA1724.severity = none # CA1725: Parameter names should match base declaration -# dotnet_diagnostic.CA1725.severity = none +dotnet_diagnostic.CA1725.severity = none +# Options: api_surface +dotnet_code_quality.CA1725.api_surface = public # public, internal, friend, all + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none # CA1801: Review unused parameters -# dotnet_diagnostic.CA1801.severity = warning +dotnet_diagnostic.CA1801.severity = none +# Options: api_surface +dotnet_code_quality.CA1801.api_surface = public # public, internal, friend, all + +# CA1802: Use Literals Where Appropriate +dotnet_diagnostic.CA1802.severity = none +# Options: api_surface, required_modifiers +dotnet_code_quality.CA1802.api_surface = public # public, internal, friend, all +# dotnet_code_quality.CA1802.required_modifiers = -# CA1802: Use literals where appropriate -# dotnet_diagnostic.CA1802.severity = warning +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none # CA1806: Do not ignore method results -# dotnet_diagnostic.CA1806.severity = warning +dotnet_diagnostic.CA1806.severity = none +# Options: additional_use_results_methods + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = none # CA1812: Avoid uninstantiated internal classes dotnet_diagnostic.CA1812.severity = none +# Options: ignore_internalsvisibleto +dotnet_code_quality.CA1812.ignore_internalsvisibleto = true # true, false + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = none # CA1814: Prefer jagged arrays over multidimensional -# dotnet_diagnostic.CA1814.severity = warning +dotnet_diagnostic.CA1814.severity = none # CA1815: Override equals and operator equals on value types -# dotnet_diagnostic.CA1815.severity = warning +dotnet_diagnostic.CA1815.severity = none +# Options: api_surface +dotnet_code_quality.CA1815.api_surface = public # public, internal, friend, all + +# CA1816: Call GC.SuppressFinalize correctly +dotnet_diagnostic.CA1816.severity = none # CA1819: Properties should not return arrays -# dotnet_diagnostic.CA1819.severity = warning +dotnet_diagnostic.CA1819.severity = none +# Options: api_surface +dotnet_code_quality.CA1819.api_surface = public # public, internal, friend, all + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = none -# CA1821: Remove empty Finalizers -# dotnet_diagnostic.CA1821.severity = warning +# CA1821: Remove empty finalizers +dotnet_diagnostic.CA1821.severity = none # CA1822: Mark members as static -# dotnet_diagnostic.CA1822.severity = warning +dotnet_diagnostic.CA1822.severity = none +# Options: api_surface +dotnet_code_quality.CA1822.api_surface = public # public, internal, friend, all # CA1823: Avoid unused private fields -# dotnet_diagnostic.CA1823.severity = warning +dotnet_diagnostic.CA1823.severity = none -# CA2007: Consider calling ConfigureAwait on the awaited task -dotnet_diagnostic.ca2007.severity = none +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none -# CA2119: Seal methods that satisfy private interfaces -# dotnet_diagnostic.CA2119.severity = warning +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none -# CA2200: Rethrow to preserve stack details. -# dotnet_diagnostic.CA2200.severity = warning +# CA1826: Use property instead of Linq Enumerable method +dotnet_diagnostic.CA1826.severity = none +# Options: exclude_ordefault_methods +dotnet_code_quality.CA1826.exclude_ordefault_methods = false # true, false -# CA2211: Non-constant fields should not be visible -# dotnet_diagnostic.CA2211.severity = warning +# CA1827: Do not use Count()/LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none -# CA2214: Do not call overridable methods in constructors -# dotnet_diagnostic.CA2214.severity = warning +# CA1828: Do not use CountAsync/LongCountAsync when AnyAsync can be used +dotnet_diagnostic.CA1828.severity = none -# CA2217: Do not mark enums with FlagsAttribute -# dotnet_diagnostic.CA2217.severity = none +# CA1829: Use Length/Count property instead of Enumerable.Count method +dotnet_diagnostic.CA1829.severity = none -# CA2218: Override GetHashCode on overriding Equals -# dotnet_diagnostic.CA2218.severity = warning +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none -# CA2219: Do not raise exceptions in finally clauses -# dotnet_diagnostic.CA2219.severity = warning +# CA1831: Use AsSpan instead of Range-based indexers for string when appropriate +dotnet_diagnostic.CA1831.severity = warning -# CA2224: Override Equals on overloading operator equals -# dotnet_diagnostic.CA2224.severity = warning +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers for getting ReadOnlySpan or ReadOnlyMemory portion of an array +dotnet_diagnostic.CA1832.severity = none -# CA2225: Operator overloads have named alternates -# dotnet_diagnostic.CA2225.severity = warning +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers for getting Span or Memory portion of an array +dotnet_diagnostic.CA1833.severity = none -# CA2226: Operators should have symmetrical overloads -# dotnet_diagnostic.CA2226.severity = warning +# CA1834: Use StringBuilder.Append(char) for single character strings +dotnet_diagnostic.CA1834.severity = none -# CA2227: Collection properties should be read only -# dotnet_diagnostic.CA2227.severity = warning +# CA1835: Prefer the memory-based overloads of ReadAsync/WriteAsync methods in stream-based classes +dotnet_diagnostic.CA1835.severity = none -# CA2231: Overload operator equals on overriding value type Equals -# dotnet_diagnostic.CA2231.severity = warning +# CA1836: Prefer IsEmpty over Count when available +dotnet_diagnostic.CA1836.severity = none -# CA2234: Pass system uri objects instead of strings -# dotnet_diagnostic.CA2234.severity = warning +# CA1837: Use Environment.ProcessId instead of Process.GetCurrentProcess().Id +dotnet_diagnostic.CA1837.severity = none -# CA2244: Do not duplicate indexed element initializations -# dotnet_diagnostic.CA2244.severity = warning +# CA1838: Avoid StringBuilder parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none -# CA2245: Do not assign a property to itself. -# dotnet_diagnostic.CA2245.severity = warning +# CA1839: Use Environment.ProcessPath instead of Process.GetCurrentProcess().MainModule.FileName +dotnet_diagnostic.CA1839.severity = none -# CA2246: Assigning symbol and its member in the same statement. -# dotnet_diagnostic.CA2246.severity = warning +# CA1840: Use Environment.CurrentManagedThreadId instead of Thread.CurrentThread.ManagedThreadId +dotnet_diagnostic.CA1840.severity = none -# NetCore +# CA1841: Prefer Dictionary Contains methods +dotnet_diagnostic.CA1841.severity = none -# CA1303: Do not pass literals as localized parameters -# dotnet_diagnostic.CA1303.severity = none +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none -# CA1304: Specify CultureInfo -# dotnet_diagnostic.CA1304.severity = none +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none -# CA1305: Specify IFormatProvider -# dotnet_diagnostic.CA1305.severity = none +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none -# CA1307: Specify StringComparison -# dotnet_diagnostic.CA1307.severity = warning +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none -# CA1308: Normalize strings to uppercase -# dotnet_diagnostic.CA1308.severity = warning +# CA1846: Prefer AsSpan over Substring +dotnet_diagnostic.CA1846.severity = none -# CA1309: Use ordinal stringcomparison -# dotnet_diagnostic.CA1309.severity = none +# CA1847: Use string.Contains(char) instead of string.Contains(string) with single characters +dotnet_diagnostic.CA1847.severity = none -# CA1401: P/Invokes should not be visible -# dotnet_diagnostic.CA1401.severity = warning +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none -# CA1810: Initialize reference type static fields inline -# dotnet_diagnostic.CA1810.severity = warning +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = none -# CA1813: Avoid unsealed attributes -# dotnet_diagnostic.CA1813.severity = none +# CA1850: Prefer static HashData method over ComputeHash +dotnet_diagnostic.CA1850.severity = none -# CA1816: Dispose methods should call SuppressFinalize -# dotnet_diagnostic.CA1816.severity = none +# CA1851: Possible multiple enumerations of IEnumerable collection +dotnet_diagnostic.CA1851.severity = none -# CA1820: Test for empty strings using string length -# dotnet_diagnostic.CA1820.severity = warning +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none +# Options: ignore_internalsvisibleto +dotnet_code_quality.CA1852.ignore_internalsvisibleto = true # true, false -# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute -# dotnet_diagnostic.CA1824.severity = warning +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the IDictionary.TryGetValue(TKey, out TValue) method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Use Span.Clear() instead of Span.Fill() +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning -# CA1825: Avoid zero-length array allocations. -# dotnet_diagnostic.CA1825.severity = warning +# CA1857: The parameter expects a constant for optimal performance +dotnet_diagnostic.CA1857.severity = warning -# CA1826: Do not use Enumerable methods on indexable collections. Instead use the collection directly -# dotnet_diagnostic.CA1826.severity = warning +# CA1858: Use StartsWith instead of IndexOf +dotnet_diagnostic.CA1858.severity = none -# CA1827: Do not use Count() or LongCount() when Any() can be used -# dotnet_diagnostic.CA1827.severity = warning +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none +dotnet_code_quality.CA1859.api_surface = public # public, internal, friend, all -# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used -# dotnet_diagnostic.CA1828.severity = warning +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none -# CA1829: Use Length/Count property instead of Count() when available -# dotnet_diagnostic.CA1829.severity = warning +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use CompositeFormat +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use 'string.Method(char)' instead of 'string.Method(string)' for string with single char +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use 'string.Method(char)' instead of 'string.Method(string)' for string with single char +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains' for sets +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning # CA2000: Dispose objects before losing scope -# dotnet_diagnostic.CA2000.severity = warning +dotnet_diagnostic.CA2000.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA2000.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA2000.excluded_symbol_names = # CA2002: Do not lock on objects with weak identity -# dotnet_diagnostic.CA2002.severity = warning +dotnet_diagnostic.CA2002.severity = none + +# CA2007: Do not directly await a Task +dotnet_diagnostic.CA2007.severity = none +# Options: exclude_async_void_methods, skip_async_void_methods, output_kind +dotnet_code_quality.CA2007.exclude_async_void_methods = false # true, false +dotnet_code_quality.CA2007.output_kind = DynamicallyLinkedLibrary, NetModule, WindowsRuntimeMetadata # ConsoleApplication, DynamicallyLinkedLibrary, NetModule, WindowsApplication, WindowsRuntimeApplication, WindowsRuntimeMetadata # CA2008: Do not create tasks without passing a TaskScheduler -# dotnet_diagnostic.CA2008.severity = warning +dotnet_diagnostic.CA2008.severity = none # CA2009: Do not call ToImmutableCollection on an ImmutableCollection value -# dotnet_diagnostic.CA2009.severity = warning +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Do not assign property within its setter +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = warning + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = warning + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = warning -# CA2010: Always consume the value returned by methods marked with PreserveSigAttribute -# dotnet_diagnostic.CA2010.severity = warning +# CA2016: Forward the CancellationToken parameter to methods that take one +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = warning + +# CA2018: The count argument to Buffer.BlockCopy should specify the number of bytes to copy +dotnet_diagnostic.CA2018.severity = warning + +# CA2019: ThreadStatic fields should not use inline initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change caused by built-in operators of IntPtr/UIntPtr +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Don't call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = warning # CA2100: Review SQL queries for security vulnerabilities -# dotnet_diagnostic.CA2100.severity = warning +dotnet_diagnostic.CA2100.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA2100.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA2100.excluded_symbol_names = + +# CA2101: Specify marshalling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none -# CA2101: Specify marshaling for P/Invoke string arguments -# dotnet_diagnostic.CA2101.severity = warning +# CA2109: Review visible event handlers +dotnet_diagnostic.CA2109.severity = none + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = none + +# CA2153: Avoid handling Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = warning # CA2201: Do not raise reserved exception types -# dotnet_diagnostic.CA2201.severity = none +dotnet_diagnostic.CA2201.severity = none # CA2207: Initialize value type static fields inline -# dotnet_diagnostic.CA2207.severity = warning +dotnet_diagnostic.CA2207.severity = none # CA2208: Instantiate argument exceptions correctly -# dotnet_diagnostic.CA2208.severity = warning +dotnet_diagnostic.CA2208.severity = none +# Options: api_surface +dotnet_code_quality.CA2208.api_surface = public # public, internal, friend, all + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none # CA2213: Disposable fields should be disposed -# dotnet_diagnostic.CA2213.severity = warning +dotnet_diagnostic.CA2213.severity = none + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none # CA2216: Disposable types should declare finalizer -# dotnet_diagnostic.CA2216.severity = warning +dotnet_diagnostic.CA2216.severity = none + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = none +# Options: api_surface +dotnet_code_quality.CA2217.api_surface = public # public, internal, friend, all + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in exception clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = none +# Options: api_surface +dotnet_code_quality.CA2225.api_surface = public # public, internal, friend, all + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = none +# Options: api_surface +dotnet_code_quality.CA2226.api_surface = public # public, internal, friend, all + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = none # CA2229: Implement serialization constructors -# dotnet_diagnostic.CA2229.severity = warning +dotnet_diagnostic.CA2229.severity = none + +# CA2231: Overload operator equals on overriding ValueType.Equals +dotnet_diagnostic.CA2231.severity = none +# Options: api_surface +dotnet_code_quality.CA2231.api_surface = public # public, internal, friend, all + +# CA2234: Pass System.Uri objects instead of strings +dotnet_diagnostic.CA2234.severity = none +# Options: api_surface +dotnet_code_quality.CA2234.api_surface = public # public, internal, friend, all # CA2235: Mark all non-serializable fields -# dotnet_diagnostic.CA2235.severity = warning +dotnet_diagnostic.CA2235.severity = none -# CA2237: Mark ISerializable types with serializable -# dotnet_diagnostic.CA2237.severity = warning +# CA2237: Mark ISerializable types with SerializableAttribute +dotnet_diagnostic.CA2237.severity = none # CA2241: Provide correct arguments to formatting methods -# dotnet_diagnostic.CA2241.severity = warning +dotnet_diagnostic.CA2241.severity = none +# Options: additional_string_formatting_methods, try_determine_additional_string_formatting_methods_automatically +# dotnet_code_quality.CA2241.additional_string_formatting_methods = # CA2242: Test for NaN correctly -# dotnet_diagnostic.CA2242.severity = warning +dotnet_diagnostic.CA2242.severity = none # CA2243: Attribute string literals should parse correctly -# dotnet_diagnostic.CA2243.severity = warning +dotnet_diagnostic.CA2243.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Do not assign a symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = warning + +# CA2248: Provide correct enum argument to Enum.HasFlag +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using String.Contains instead of String.IndexOf +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use ThrowIfCancellationRequested +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use String.Equals over String.Compare +dotnet_diagnostic.CA2251.severity = none + +# CA2252: Opt in to preview features before using them +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The ModuleInitializer attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = warning + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = warning + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = warning + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = warning + +# CA2259: Ensure ThreadStatic is only used with static fields +dotnet_diagnostic.CA2259.severity = warning + +# CA2260: Implement generic math interfaces correctly +dotnet_diagnostic.CA2260.severity = warning + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = warning # CA2300: Do not use insecure deserializer BinaryFormatter -# dotnet_diagnostic.CA2300.severity = none +dotnet_diagnostic.CA2300.severity = none # CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder -# dotnet_diagnostic.CA2301.severity = none +dotnet_diagnostic.CA2301.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA2301.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA2301.excluded_symbol_names = # CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize -# dotnet_diagnostic.CA2302.severity = none +dotnet_diagnostic.CA2302.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA2302.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA2302.excluded_symbol_names = # CA2305: Do not use insecure deserializer LosFormatter -# dotnet_diagnostic.CA2305.severity = none +dotnet_diagnostic.CA2305.severity = none # CA2310: Do not use insecure deserializer NetDataContractSerializer -# dotnet_diagnostic.CA2310.severity = none +dotnet_diagnostic.CA2310.severity = none # CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder -# dotnet_diagnostic.CA2311.severity = none +dotnet_diagnostic.CA2311.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA2311.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA2311.excluded_symbol_names = # CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing -# dotnet_diagnostic.CA2312.severity = none +dotnet_diagnostic.CA2312.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA2312.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA2312.excluded_symbol_names = # CA2315: Do not use insecure deserializer ObjectStateFormatter -# dotnet_diagnostic.CA2315.severity = none +dotnet_diagnostic.CA2315.severity = none # CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver -# dotnet_diagnostic.CA2321.severity = none +dotnet_diagnostic.CA2321.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA2321.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA2321.excluded_symbol_names = # CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing -# dotnet_diagnostic.CA2322.severity = none +dotnet_diagnostic.CA2322.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA2322.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA2322.excluded_symbol_names = # CA2326: Do not use TypeNameHandling values other than None -# dotnet_diagnostic.CA2326.severity = none +dotnet_diagnostic.CA2326.severity = none # CA2327: Do not use insecure JsonSerializerSettings -# dotnet_diagnostic.CA2327.severity = none +dotnet_diagnostic.CA2327.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA2327.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA2327.excluded_symbol_names = # CA2328: Ensure that JsonSerializerSettings are secure -# dotnet_diagnostic.CA2328.severity = none +dotnet_diagnostic.CA2328.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA2328.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA2328.excluded_symbol_names = # CA2329: Do not deserialize with JsonSerializer using an insecure configuration -# dotnet_diagnostic.CA2329.severity = none +dotnet_diagnostic.CA2329.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA2329.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA2329.excluded_symbol_names = # CA2330: Ensure that JsonSerializer has a secure configuration when deserializing -# dotnet_diagnostic.CA2330.severity = none +dotnet_diagnostic.CA2330.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA2330.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA2330.excluded_symbol_names = + +# CA2350: Ensure DataTable.ReadXml()'s input is trusted +dotnet_diagnostic.CA2350.severity = none + +# CA2351: Ensure DataSet.ReadXml()'s input is trusted +dotnet_diagnostic.CA2351.severity = none + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = none + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = none + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attack +dotnet_diagnostic.CA2354.severity = none + +# CA2355: Unsafe DataSet or DataTable in deserialized object graph +dotnet_diagnostic.CA2355.severity = none + +# CA2356: Unsafe DataSet or DataTable type in web deserialized object graph +dotnet_diagnostic.CA2356.severity = none + +# CA2361: Ensure autogenerated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = none + +# CA2362: Unsafe DataSet or DataTable in autogenerated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = none # CA3001: Review code for SQL injection vulnerabilities -# dotnet_diagnostic.CA3001.severity = none +dotnet_diagnostic.CA3001.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA3001.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA3001.excluded_symbol_names = # CA3002: Review code for XSS vulnerabilities -# dotnet_diagnostic.CA3002.severity = none +dotnet_diagnostic.CA3002.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA3002.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA3002.excluded_symbol_names = # CA3003: Review code for file path injection vulnerabilities -# dotnet_diagnostic.CA3003.severity = none +dotnet_diagnostic.CA3003.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA3003.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA3003.excluded_symbol_names = # CA3004: Review code for information disclosure vulnerabilities -# dotnet_diagnostic.CA3004.severity = none +dotnet_diagnostic.CA3004.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA3004.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA3004.excluded_symbol_names = # CA3005: Review code for LDAP injection vulnerabilities -# dotnet_diagnostic.CA3005.severity = none +dotnet_diagnostic.CA3005.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA3005.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA3005.excluded_symbol_names = # CA3006: Review code for process command injection vulnerabilities -# dotnet_diagnostic.CA3006.severity = none +dotnet_diagnostic.CA3006.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA3006.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA3006.excluded_symbol_names = # CA3007: Review code for open redirect vulnerabilities -# dotnet_diagnostic.CA3007.severity = none +dotnet_diagnostic.CA3007.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA3007.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA3007.excluded_symbol_names = # CA3008: Review code for XPath injection vulnerabilities -# dotnet_diagnostic.CA3008.severity = none +dotnet_diagnostic.CA3008.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA3008.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA3008.excluded_symbol_names = # CA3009: Review code for XML injection vulnerabilities -# dotnet_diagnostic.CA3009.severity = none +dotnet_diagnostic.CA3009.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA3009.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA3009.excluded_symbol_names = # CA3010: Review code for XAML injection vulnerabilities -# dotnet_diagnostic.CA3010.severity = none +dotnet_diagnostic.CA3010.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA3010.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA3010.excluded_symbol_names = # CA3011: Review code for DLL injection vulnerabilities -# dotnet_diagnostic.CA3011.severity = none +dotnet_diagnostic.CA3011.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA3011.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA3011.excluded_symbol_names = # CA3012: Review code for regex injection vulnerabilities -# dotnet_diagnostic.CA3012.severity = none +dotnet_diagnostic.CA3012.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA3012.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA3012.excluded_symbol_names = + +# CA3061: Do not add schema by URL +dotnet_diagnostic.CA3061.severity = none -# CA3061: Do Not Add Schema By URL -# dotnet_diagnostic.CA3061.severity = warning +# CA3075: Insecure DTD Processing +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT Script Execution +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XML Document and XML Text Reader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark verb handlers with ValidateAntiForgeryToken +dotnet_diagnostic.CA3147.severity = none # CA5350: Do Not Use Weak Cryptographic Algorithms -# dotnet_diagnostic.CA5350.severity = warning +dotnet_diagnostic.CA5350.severity = none # CA5351: Do Not Use Broken Cryptographic Algorithms -# dotnet_diagnostic.CA5351.severity = warning +dotnet_diagnostic.CA5351.severity = none # CA5358: Do Not Use Unsafe Cipher Modes -# dotnet_diagnostic.CA5358.severity = none +dotnet_diagnostic.CA5358.severity = none -# CA5359: Do Not Disable Certificate Validation -# dotnet_diagnostic.CA5359.severity = warning +# CA5359: Do not disable certificate validation +dotnet_diagnostic.CA5359.severity = none -# CA5360: Do Not Call Dangerous Methods In Deserialization -# dotnet_diagnostic.CA5360.severity = warning +# CA5360: Do not call dangerous methods in deserialization +dotnet_diagnostic.CA5360.severity = none -# CA5361: Do Not Disable SChannel Use of Strong Crypto -# dotnet_diagnostic.CA5361.severity = warning +# CA5361: Do not disable SChannel use of strong crypto +dotnet_diagnostic.CA5361.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5361.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5361.excluded_symbol_names = -# CA5362: Do Not Refer Self In Serializable Class -# dotnet_diagnostic.CA5362.severity = none +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = none -# CA5363: Do Not Disable Request Validation -# dotnet_diagnostic.CA5363.severity = warning +# CA5363: Do not disable request validation +dotnet_diagnostic.CA5363.severity = none -# CA5364: Do Not Use Deprecated Security Protocols -# dotnet_diagnostic.CA5364.severity = warning +# CA5364: Do not use deprecated security protocols +dotnet_diagnostic.CA5364.severity = none # CA5365: Do Not Disable HTTP Header Checking -# dotnet_diagnostic.CA5365.severity = warning +dotnet_diagnostic.CA5365.severity = none -# CA5366: Use XmlReader For DataSet Read Xml -# dotnet_diagnostic.CA5366.severity = warning +# CA5366: Use XmlReader For DataSet Read XML +dotnet_diagnostic.CA5366.severity = none -# CA5367: Do Not Serialize Types With Pointer Fields -# dotnet_diagnostic.CA5367.severity = none +# CA5367: Do not serialize types with pointer fields +dotnet_diagnostic.CA5367.severity = none # CA5368: Set ViewStateUserKey For Classes Derived From Page -# dotnet_diagnostic.CA5368.severity = warning +dotnet_diagnostic.CA5368.severity = none -# CA5369: Use XmlReader For Deserialize -# dotnet_diagnostic.CA5369.severity = warning +# CA5369: Use XmlReader for Deserialize +dotnet_diagnostic.CA5369.severity = none -# CA5370: Use XmlReader For Validating Reader -# dotnet_diagnostic.CA5370.severity = warning +# CA5370: Use XmlReader for validating reader +dotnet_diagnostic.CA5370.severity = none -# CA5371: Use XmlReader For Schema Read -# dotnet_diagnostic.CA5371.severity = warning +# CA5371: Use XmlReader for schema read +dotnet_diagnostic.CA5371.severity = none -# CA5372: Use XmlReader For XPathDocument -# dotnet_diagnostic.CA5372.severity = warning +# CA5372: Use XmlReader for XPathDocument +dotnet_diagnostic.CA5372.severity = none # CA5373: Do not use obsolete key derivation function -# dotnet_diagnostic.CA5373.severity = warning +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do not use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5375: Do not use account shared access signature +dotnet_diagnostic.CA5375.severity = none + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5376.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5376.excluded_symbol_names = + +# CA5377: Use container level access policy +dotnet_diagnostic.CA5377.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5377.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5377.excluded_symbol_names = + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5378.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5378.excluded_symbol_names = + +# CA5379: Ensure key derivation function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5380: Do not add certificates to root store +dotnet_diagnostic.CA5380.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5380.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5380.excluded_symbol_names = + +# CA5381: Ensure certificates are not added to root store +dotnet_diagnostic.CA5381.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5381.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5381.excluded_symbol_names = + +# CA5382: Use secure cookies in ASP.NET Core +dotnet_diagnostic.CA5382.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5382.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5382.excluded_symbol_names = + +# CA5383: Ensure use secure cookies in ASP.NET Core +dotnet_diagnostic.CA5383.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5383.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5383.excluded_symbol_names = + +# CA5384: Do not use digital signature algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5384.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5384.excluded_symbol_names = + +# CA5385: Use Rivest–Shamir–Adleman (RSA) algorithm with sufficient key size +dotnet_diagnostic.CA5385.severity = none + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = none + +# CA5387: Do not use weak key derivation function with insufficient iteration count +dotnet_diagnostic.CA5387.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5387.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5387.excluded_symbol_names = + +# CA5388: Ensure sufficient iteration count when using weak key derivation function +dotnet_diagnostic.CA5388.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5388.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5388.excluded_symbol_names = + +# CA5389: Do not add archive item's path to the target file system path +dotnet_diagnostic.CA5389.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5389.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5389.excluded_symbol_names = + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5390.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5390.excluded_symbol_names = + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = none +# Options: exclude_aspnet_core_mvc_controllerbase + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = none + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = none +# Options: unsafe_DllImportSearchPath_bits + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = none + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = none + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = none -# CA5374: Do Not Use XslTransform -# dotnet_diagnostic.CA5374.severity = warning +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = none + +# CA5399: Enable HttpClient certificate revocation list check +dotnet_diagnostic.CA5399.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5399.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5399.excluded_symbol_names = + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = none +# Options: excluded_symbol_names, excluded_type_names_with_derived_types +# dotnet_code_quality.CA5400.excluded_type_names_with_derived_types = +# dotnet_code_quality.CA5400.excluded_symbol_names = -# CA5375: Do Not Use Account Shared Access Signature -# dotnet_diagnostic.CA5375.severity = none +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = none -# CA5376: Use SharedAccessProtocol HttpsOnly -# dotnet_diagnostic.CA5376.severity = warning +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = none -# CA5377: Use Container Level Access Policy -# dotnet_diagnostic.CA5377.severity = warning +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = none -# CA5378: Do not disable ServicePointManagerSecurityProtocols -# dotnet_diagnostic.CA5378.severity = warning +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = none -# CA5379: Do Not Use Weak Key Derivation Function Algorithm -# dotnet_diagnostic.CA5379.severity = warning +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = none -# CA5380: Do Not Add Certificates To Root Store -# dotnet_diagnostic.CA5380.severity = warning +# IDE0001: Simplify name +dotnet_diagnostic.IDE0001.severity = warning -# CA5381: Ensure Certificates Are Not Added To Root Store -# dotnet_diagnostic.CA5381.severity = warning +# IDE0002: Simplify member access +dotnet_diagnostic.IDE0002.severity = warning -# CA5382: Use Secure Cookies In ASP.Net Core -# dotnet_diagnostic.CA5382.severity = none +# IDE0003: Remove this or Me qualification +dotnet_diagnostic.IDE0003.severity = warning +# Options: dotnet_style_qualification_for_field, dotnet_style_qualification_for_property, dotnet_style_qualification_for_method, dotnet_style_qualification_for_event -# CA5383: Ensure Use Secure Cookies In ASP.Net Core -# dotnet_diagnostic.CA5383.severity = none +# IDE0004: Remove unnecessary cast +dotnet_diagnostic.IDE0004.severity = warning -# CA5384: Do Not Use Digital Signature Algorithm (DSA) -# dotnet_diagnostic.CA5384.severity = warning +# IDE0005: Remove unnecessary import +dotnet_diagnostic.IDE0005.severity = warning -# CA5385: Use Rivest–Shamir–Adleman (RSA) Algorithm With Sufficient Key Size -# dotnet_diagnostic.CA5385.severity = warning +# IDE0007: Use var instead of explicit type +dotnet_diagnostic.IDE0007.severity = warning +# Options: csharp_style_var_for_built_in_types, csharp_style_var_when_type_is_apparent, csharp_style_var_elsewhere -# CA5386: Avoid hardcoding SecurityProtocolType value -# dotnet_diagnostic.CA5386.severity = none +# IDE0008: Use explicit type instead of var +dotnet_diagnostic.IDE0008.severity = warning +# Options: csharp_style_var_for_built_in_types, csharp_style_var_when_type_is_apparent, csharp_style_var_elsewhere -# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count -# dotnet_diagnostic.CA5387.severity = none +# IDE0009: Add this or Me qualification +dotnet_diagnostic.IDE0009.severity = warning +# Options: dotnet_style_qualification_for_field, dotnet_style_qualification_for_property, dotnet_style_qualification_for_method, dotnet_style_qualification_for_event -# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function -# dotnet_diagnostic.CA5388.severity = none +# IDE0010: Add missing cases to switch statement +dotnet_diagnostic.IDE0010.severity = warning -# CA5389: Do Not Add Archive Item's Path To The Target File System Path -# dotnet_diagnostic.CA5389.severity = none +# IDE0011: Add braces +dotnet_diagnostic.IDE0011.severity = warning +# Options: csharp_prefer_braces -# CA5390: Do not hard-code encryption key -# dotnet_diagnostic.CA5390.severity = none +# IDE0016: Use throw expression +dotnet_diagnostic.IDE0016.severity = warning +# Options: csharp_style_throw_expression -# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers -# dotnet_diagnostic.CA5391.severity = none +# IDE0017: Use object initializers +dotnet_diagnostic.IDE0017.severity = warning +# Options: dotnet_style_object_initializer -# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes -# dotnet_diagnostic.CA5392.severity = none +# IDE0018: Inline variable declaration +dotnet_diagnostic.IDE0018.severity = warning +# Options: csharp_style_inlined_variable_declaration -# CA5393: Do not use unsafe DllImportSearchPath value -# dotnet_diagnostic.CA5393.severity = none +# IDE0019: Use pattern matching to avoid as followed by a null check +dotnet_diagnostic.IDE0019.severity = warning +# Options: csharp_style_pattern_matching_over_as_with_null_check -# CA5394: Do not use insecure randomness -# dotnet_diagnostic.CA5394.severity = none +# IDE0020: Use pattern matching to avoid is check followed by a cast (with variable) +dotnet_diagnostic.IDE0020.severity = warning +# Options: csharp_style_pattern_matching_over_is_with_cast_check -# CA5395: Miss HttpVerb attribute for action methods -# dotnet_diagnostic.CA5395.severity = none +# IDE0021: Use expression body for constructors +dotnet_diagnostic.IDE0021.severity = warning +# Options: csharp_style_expression_bodied_constructors -# CA5396: Set HttpOnly to true for HttpCookie -# dotnet_diagnostic.CA5396.severity = none +# IDE0022: Use expression body for methods +dotnet_diagnostic.IDE0022.severity = warning +# Options: csharp_style_expression_bodied_methods -# CA5397: Do not use deprecated SslProtocols values -# dotnet_diagnostic.CA5397.severity = warning +# IDE0023: Use expression body for conversion operators +dotnet_diagnostic.IDE0023.severity = warning +# Options: csharp_style_expression_bodied_operators -# CA5398: Avoid hardcoded SslProtocols values -# dotnet_diagnostic.CA5398.severity = none +# IDE0024: Use expression body for operators +dotnet_diagnostic.IDE0024.severity = warning +# Options: csharp_style_expression_bodied_operators -# CA5399: HttpClients should enable certificate revocation list checks -# dotnet_diagnostic.CA5399.severity = none +# IDE0025: Use expression body for properties +dotnet_diagnostic.IDE0025.severity = warning +# Options: csharp_style_expression_bodied_properties -# CA5400: Ensure HttpClient certificate revocation list check is not disabled -# dotnet_diagnostic.CA5400.severity = none +# IDE0026: Use expression body for indexers +dotnet_diagnostic.IDE0026.severity = warning +# Options: csharp_style_expression_bodied_indexers -# CA5401: Do not use CreateEncryptor with non-default IV -# dotnet_diagnostic.CA5401.severity = none +# IDE0027: Use expression body for accessors +dotnet_diagnostic.IDE0027.severity = warning +# Options: csharp_style_expression_bodied_accessors -# CA5402: Use CreateEncryptor with the default IV -# dotnet_diagnostic.CA5402.severity = none +# IDE0028: Use collection initializers +dotnet_diagnostic.IDE0028.severity = warning +# Options: dotnet_style_collection_initializer -# CA5403: Do not hard-code certificate -# dotnet_diagnostic.CA5403.severity = none +# IDE0029: Null check can be simplified (ternary conditional check) +dotnet_diagnostic.IDE0029.severity = warning +# Options: dotnet_style_coalesce_expression -# NetFramework +# IDE0030: Null check can be simplified (nullable ternary conditional check) +dotnet_diagnostic.IDE0030.severity = warning +# Options: dotnet_style_coalesce_expression -# CA1058: Types should not extend certain base types -# dotnet_diagnostic.CA1058.severity = warning +# IDE0031: Use null propagation +dotnet_diagnostic.IDE0031.severity = warning +# Options: dotnet_style_null_propagation -# CA2153: Do Not Catch Corrupted State Exceptions -# dotnet_diagnostic.CA2153.severity = warning +# IDE0032: Use auto-implemented property +dotnet_diagnostic.IDE0032.severity = warning +# Options: dotnet_style_prefer_auto_properties -# CA3075: Insecure DTD processing in XML -# dotnet_diagnostic.CA3075.severity = warning +# IDE0033: Use explicitly provided tuple name +dotnet_diagnostic.IDE0033.severity = warning +# Options: dotnet_style_explicit_tuple_names -# CA3076: Insecure XSLT script processing. -# dotnet_diagnostic.CA3076.severity = warning +# IDE0034: Simplify default expression +dotnet_diagnostic.IDE0034.severity = warning +# Options: csharp_prefer_simple_default_expression -# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader -# dotnet_diagnostic.CA3077.severity = warning +# IDE0035: Remove unreachable code +dotnet_diagnostic.IDE0035.severity = warning -# CA3147: Mark Verb Handlers With Validate Antiforgery Token -# dotnet_diagnostic.CA3147.severity = warning +# IDE0036: Order modifiers +dotnet_diagnostic.IDE0036.severity = warning +# Options: csharp_preferred_modifier_order, visual_basic_preferred_modifier_order -# PublicApi +# IDE0037: Use inferred member name +dotnet_diagnostic.IDE0037.severity = warning +# Options: dotnet_style_prefer_inferred_tuple_names, dotnet_style_prefer_inferred_anonymous_type_member_names -# RS0016: Add public types and members to the declared API -# dotnet_diagnostic.RS0016.severity = warning +# IDE0038: Use pattern matching to avoid is check followed by a cast (without variable) +dotnet_diagnostic.IDE0038.severity = warning +# Options: csharp_style_pattern_matching_over_is_with_cast_check -# RS0017: Remove deleted types and members from the declared API -# dotnet_diagnostic.RS0017.severity = warning +# IDE0039: Use local function instead of lambda +dotnet_diagnostic.IDE0039.severity = warning +# Options: csharp_style_prefer_local_over_anonymous_function -# RS0022: Constructor make noninheritable base class inheritable -# dotnet_diagnostic.RS0022.severity = warning +# IDE0040: Add accessibility modifiers +dotnet_diagnostic.IDE0040.severity = warning +# Options: dotnet_style_require_accessibility_modifiers -# RS0024: The contents of the public API files are invalid -# dotnet_diagnostic.RS0024.severity = warning +# IDE0041: Use 'is null' check +dotnet_diagnostic.IDE0041.severity = warning +# Options: dotnet_style_prefer_is_null_check_over_reference_equality_method -# RS0025: Do not duplicate symbols in public API files -# dotnet_diagnostic.RS0025.severity = warning +# IDE0042: Deconstruct variable declaration +dotnet_diagnostic.IDE0042.severity = warning +# Options: csharp_style_deconstructed_variable_declaration -# RS0026: Do not add multiple public overloads with optional parameters -# dotnet_diagnostic.RS0026.severity = warning +# IDE0044: Add readonly modifier +dotnet_diagnostic.IDE0044.severity = warning +# Options: dotnet_style_readonly_field -# RS0027: Public API with optional parameter(s) should have the most parameters amongst its public overloads. -# dotnet_diagnostic.RS0027.severity = warning +# IDE0045: Use conditional expression for assignment +dotnet_diagnostic.IDE0045.severity = warning +# Options: dotnet_style_prefer_conditional_expression_over_assignment -# ReSharper properties -resharper_align_linq_query = true -resharper_align_multiline_argument = true -resharper_align_multiline_array_and_object_initializer = false -resharper_align_multiline_binary_expressions_chain = false -resharper_align_multiline_calls_chain = true -resharper_align_multiline_expression = true -resharper_align_multiline_extends_list = true -resharper_align_multiline_for_stmt = true -resharper_align_multiline_parameter = true -resharper_align_multiline_switch_expression = false -resharper_align_multiple_declaration = true -resharper_align_multline_type_parameter_constrains = true -resharper_align_multline_type_parameter_list = true -resharper_align_tuple_components = true -resharper_arguments_anonymous_function = positional -resharper_autodetect_indent_settings = true -resharper_braces_for_for = not_required -resharper_braces_for_foreach = not_required -resharper_braces_for_ifelse = not_required_for_both -resharper_braces_for_while = not_required -resharper_braces_redundant = false -resharper_constructor_or_destructor_body = block_body -resharper_continuous_indent_multiplier = 1 -resharper_cpp_empty_block_style = multiline -resharper_cpp_outdent_commas = false -resharper_cpp_outdent_dots = false -resharper_cpp_wrap_after_declaration_lpar = false -resharper_cpp_wrap_after_invocation_lpar = false -resharper_cpp_wrap_before_declaration_rpar = false -resharper_cpp_wrap_before_invocation_rpar = false -resharper_csharp_align_multiline_argument = true -resharper_csharp_align_multiline_binary_expressions_chain = true -resharper_csharp_align_multiline_expression = false -resharper_csharp_brace_style = next_line -resharper_csharp_empty_block_style = multiline -resharper_csharp_outdent_commas = true -resharper_csharp_outdent_dots = true -resharper_csharp_place_comments_at_first_column = true -resharper_csharp_wrap_after_declaration_lpar = true -resharper_csharp_wrap_after_invocation_lpar = true -resharper_csharp_wrap_before_binary_opsign = true -resharper_csharp_wrap_before_declaration_rpar = true -resharper_csharp_wrap_before_invocation_rpar = true -resharper_csharp_wrap_multiple_declaration_style = chop_if_long -resharper_empty_block_style = together_same_line -resharper_indent_anonymous_method_block = false -resharper_int_align_switch_expressions = true -resharper_int_align_switch_sections = true -resharper_keep_existing_declaration_block_arrangement = false -resharper_keep_existing_embedded_block_arrangement = false -resharper_keep_existing_enum_arrangement = true -resharper_keep_existing_invocation_parens_arrangement = true -resharper_keep_existing_linebreaks = true -resharper_keep_existing_switch_expression_arrangement = false -resharper_keep_user_linebreaks = true -resharper_max_initializer_elements_on_line = 2 -resharper_method_or_operator_body = block_body -resharper_outdent_binary_ops = true -resharper_outdent_commas = true -resharper_outdent_dots = true -resharper_space_around_arrow_op = true -resharper_space_within_single_line_array_initializer_braces = true -resharper_use_heuristics_for_body_style = true -resharper_use_indent_from_vs = false -resharper_wrap_after_declaration_lpar = true -resharper_wrap_after_invocation_lpar = true -resharper_wrap_arguments_style = wrap_if_long -resharper_wrap_before_declaration_rpar = true -resharper_wrap_before_invocation_rpar = true -resharper_wrap_chained_method_calls = wrap_if_long -resharper_wrap_multiple_declaration_style = chop_if_long -resharper_wrap_object_and_collection_initializer_style = chop_if_long -resharper_xmldoc_attribute_style = on_single_line -resharper_xmldoc_pi_attribute_style = on_single_line -resharper_xmldoc_space_after_last_pi_attribute = true -resharper_xmldoc_space_before_self_closing = true +# IDE0046: Use conditional expression for return +dotnet_diagnostic.IDE0046.severity = warning +# Options: dotnet_style_prefer_conditional_expression_over_return -# ReSharper inspection severities -resharper_annotate_can_be_null_parameter_highlighting = warning -resharper_annotate_can_be_null_type_member_highlighting = warning -resharper_arrange_constructor_or_destructor_body_highlighting = none -resharper_arrange_method_or_operator_body_highlighting = none -resharper_arrange_redundant_parentheses_highlighting = hint -resharper_arrange_this_qualifier_highlighting = hint -resharper_arrange_type_member_modifiers_highlighting = hint -resharper_arrange_type_modifiers_highlighting = hint -resharper_built_in_type_reference_style_for_member_access_highlighting = hint -resharper_built_in_type_reference_style_highlighting = hint -resharper_enforce_do_while_statement_braces_highlighting = warning -resharper_enforce_fixed_statement_braces_highlighting = warning -resharper_enforce_foreach_statement_braces_highlighting = warning -resharper_enforce_for_statement_braces_highlighting = warning -resharper_enforce_if_statement_braces_highlighting = warning -resharper_enforce_lock_statement_braces_highlighting = warning -resharper_enforce_using_statement_braces_highlighting = warning -resharper_enforce_while_statement_braces_highlighting = warning -resharper_redundant_base_qualifier_highlighting = warning -resharper_redundant_default_member_initializer_highlighting = hint -resharper_remove_redundant_braces_highlighting = warning -resharper_suggest_var_or_type_built_in_types_highlighting = hint -resharper_suggest_var_or_type_elsewhere_highlighting = hint -resharper_suggest_var_or_type_simple_types_highlighting = hint -resharper_unnecessary_whitespace_highlighting = warning -resharper_use_null_propagation_when_possible_highlighting = suggestion -resharper_web_config_module_not_resolved_highlighting = warning -resharper_web_config_type_not_resolved_highlighting = warning -resharper_web_config_wrong_module_highlighting = warning -resharper_partial_type_with_single_part_highlighting = none -resharper_redundant_nullable_flow_attribute_highlighting = none +# IDE0047: Remove unnecessary parentheses +dotnet_diagnostic.IDE0047.severity = warning +# Options: dotnet_style_parentheses_in_arithmetic_binary_operators, dotnet_style_parentheses_in_relational_binary_operators, dotnet_style_parentheses_in_other_binary_operators, dotnet_style_parentheses_in_other_operators -# Options +# IDE0048: Add parentheses for clarity +dotnet_diagnostic.IDE0048.severity = warning +# Options: dotnet_style_parentheses_in_arithmetic_binary_operators, dotnet_style_parentheses_in_relational_binary_operators, dotnet_style_parentheses_in_other_binary_operators, dotnet_style_parentheses_in_other_operators -roslynator_accessibility_modifiers = explicit -# Applicable to: rcs1018 +# IDE0049: Use language keywords instead of framework type names for type references +dotnet_diagnostic.IDE0049.severity = warning +# Options: dotnet_style_predefined_type_for_locals_parameters_members, dotnet_style_predefined_type_for_member_access -roslynator_accessor_braces_style = single_line_when_expression_is_on_single_line -# Default: multi_line -# Applicable to: rcs0020 +# IDE0050: Convert anonymous type to tuple +dotnet_diagnostic.IDE0050.severity = warning -roslynator_array_creation_type_style = implicit_when_type_is_obvious -# Applicable to: rcs1014 +# IDE0051: Remove unused private member +dotnet_diagnostic.IDE0051.severity = warning -roslynator_arrow_token_new_line = before -# Applicable to: rcs0032 +# IDE0052: Remove unread private member +dotnet_diagnostic.IDE0052.severity = warning -roslynator_binary_operator_new_line = before -# Applicable to: rcs0027 +# IDE0053: Use expression body for lambdas +dotnet_diagnostic.IDE0053.severity = warning +# Options: csharp_style_expression_bodied_lambdas -roslynator_blank_line_between_closing_brace_and_switch_section = false -# Applicable to: rcs0014, rcs1036 +# IDE0054: Use compound assignment +dotnet_diagnostic.IDE0054.severity = warning +# Options: dotnet_style_prefer_compound_assignment -roslynator_blank_line_between_single_line_accessors = false -# Applicable to: rcs0011 +# IDE0055: Formatting rule +dotnet_diagnostic.IDE0055.severity = warning -roslynator_blank_line_between_using_directives = separate_groups -# Applicable to: rcs0015 +# IDE0056: Use index operator +dotnet_diagnostic.IDE0056.severity = warning +# Options: csharp_style_prefer_index_operator -roslynator_block_braces_style = single_line_when_empty -# Default: multi_line -# Applicable to: rcs0021 +# IDE0057: Use range operator +dotnet_diagnostic.IDE0057.severity = warning +# Options: csharp_style_prefer_range_operator -roslynator_body_style = expression -# Applicable to: rcs1016 +# IDE0058: Remove unnecessary expression value +dotnet_diagnostic.IDE0058.severity = warning +# Options: csharp_style_unused_value_expression_statement_preference, visual_basic_style_unused_value_expression_statement_preference -roslynator_conditional_operator_condition_parentheses_style = omit_when_condition_is_single_token -# Applicable to: rcs1051 +# IDE0059: Remove unnecessary value assignment +dotnet_diagnostic.IDE0059.severity = warning +# Options: csharp_style_unused_value_assignment_preference, visual_basic_style_unused_value_assignment_preference -roslynator_conditional_operator_new_line = before -# Applicable to: rcs0028 +# IDE0060: Remove unused parameter +dotnet_diagnostic.IDE0060.severity = none +# Options: dotnet_code_quality_unused_parameters -# roslynator_configure_await = true|false -# Applicable to: rcs1090 +# IDE0061: Use expression body for local functions +dotnet_diagnostic.IDE0061.severity = warning +# Options: csharp_style_expression_bodied_local_functions -roslynator_empty_string_style = field -# Applicable to: rcs1078 +# IDE0062: Make local function static +dotnet_diagnostic.IDE0062.severity = warning +# Options: csharp_prefer_static_local_function -roslynator_enum_has_flag_style = operator -# Applicable to: rcs1096 +# IDE0063: Use simple using statement +dotnet_diagnostic.IDE0063.severity = warning +# Options: csharp_prefer_simple_using_statement -roslynator_equals_token_new_line = after -# Applicable to: rcs0052 +# IDE0064: Make struct fields writable +dotnet_diagnostic.IDE0064.severity = warning -roslynator_max_line_length = 160 -# Default: 140 -# Applicable to: rcs0056 +# IDE0065: using directive placement +dotnet_diagnostic.IDE0065.severity = warning +# Options: csharp_using_directive_placement -roslynator_new_line_at_end_of_file = true|false -# Applicable to: rcs0058 +# IDE0066: Use switch expression +dotnet_diagnostic.IDE0066.severity = warning +# Options: csharp_style_prefer_switch_expression -roslynator_new_line_before_while_in_do_statement = true -# Applicable to: rcs0051 +# IDE0070: Use System.HashCode.Combine +dotnet_diagnostic.IDE0070.severity = warning -roslynator_null_conditional_operator_new_line = before -# Applicable to: rcs0059 +# IDE0071: Simplify interpolation +dotnet_diagnostic.IDE0071.severity = warning +# Options: dotnet_style_prefer_simplified_interpolation -roslynator_null_check_style = pattern_matching -# Applicable to: rcs1248 +# IDE0072: Add missing cases to switch expression +dotnet_diagnostic.IDE0072.severity = warning -roslynator_object_creation_parentheses_style = omit -# Applicable to: rcs1050 +# IDE0073: Require file header +dotnet_diagnostic.IDE0073.severity = warning +# Options: file_header_template -roslynator_object_creation_type_style = implicit_when_type_is_obvious -# Applicable to: rcs1250 +# IDE0074: Use coalesce compound assignment +dotnet_diagnostic.IDE0074.severity = warning +# Options: dotnet_style_prefer_compound_assignment -roslynator_prefix_field_identifier_with_underscore = true +# IDE0075: Simplify conditional expression +dotnet_diagnostic.IDE0075.severity = warning +# Options: dotnet_style_prefer_simplified_boolean_expressions -roslynator_suppress_unity_script_methods = true -# Applicable to: rcs1213 +# IDE0076: Remove invalid global SuppressMessageAttribute +dotnet_diagnostic.IDE0076.severity = warning -roslynator_use_anonymous_function_or_method_group = method_group -# Applicable to: rcs1207 +# IDE0077: Avoid legacy format target in global SuppressMessageAttribute +dotnet_diagnostic.IDE0077.severity = warning -roslynator_use_block_body_when_declaration_spans_over_multiple_lines = false -# Applicable to: rcs1016 +# IDE0078: Use pattern matching +dotnet_diagnostic.IDE0078.severity = warning +# Options: csharp_style_prefer_pattern_matching -roslynator_use_block_body_when_expression_spans_over_multiple_lines = false -# Applicable to: rcs1016 +# IDE0079: Remove unnecessary suppression +dotnet_diagnostic.IDE0079.severity = warning +# Options: dotnet_remove_unnecessary_suppression_exclusions -roslynator_use_var_instead_of_implicit_object_creation = true -# Applicable to: rcs1250 +# IDE0080: Remove unnecessary suppression operator +dotnet_diagnostic.IDE0080.severity = warning -# Analyzers +# IDE0081: Remove ByVal +dotnet_diagnostic.IDE0081.severity = warning -# Add blank line after embedded statement -dotnet_diagnostic.rcs0001.severity = suggestion +# IDE0082: Convert typeof to nameof +dotnet_diagnostic.IDE0082.severity = warning -# Add blank line after #region -dotnet_diagnostic.rcs0002.severity = suggestion +# IDE0083: Use pattern matching (not operator) +dotnet_diagnostic.IDE0083.severity = warning +# Options: csharp_style_prefer_not_pattern -# Add blank line after using directive list -dotnet_diagnostic.rcs0003.severity = suggestion +# IDE0084: Use pattern matching (IsNot operator) +dotnet_diagnostic.IDE0084.severity = warning +# Options: visual_basic_style_prefer_isnot_expression -# Add blank line before #endregion -dotnet_diagnostic.rcs0005.severity = suggestion +# IDE0090: Simplify new expression +dotnet_diagnostic.IDE0090.severity = warning +# Options: csharp_style_implicit_object_creation_when_type_is_apparent -# Add blank line before using directive list -dotnet_diagnostic.rcs0006.severity = suggestion +# IDE0100: Remove unnecessary equality operator +dotnet_diagnostic.IDE0100.severity = warning -# Add blank line between accessors -dotnet_diagnostic.rcs0007.severity = suggestion +# IDE0110: Remove unnecessary discard +dotnet_diagnostic.IDE0110.severity = warning -# Add blank line between closing brace and next statement -dotnet_diagnostic.rcs0008.severity = suggestion +# IDE0120: Simplify LINQ expression +dotnet_diagnostic.IDE0120.severity = warning -# Add blank line between declaration and documentation comment -dotnet_diagnostic.rcs0009.severity = suggestion +# IDE0130: Namespace does not match folder structure +dotnet_diagnostic.IDE0130.severity = warning +# Options: dotnet_style_namespace_match_folder -# Add blank line between declarations -dotnet_diagnostic.rcs0010.severity = suggestion +# IDE0140: Simplify object creation +dotnet_diagnostic.IDE0140.severity = warning +# Options: visual_basic_style_prefer_simplified_object_creation -# Add/remove blank line between single-line accessors -dotnet_diagnostic.rcs0011.severity = suggestion -# Options: roslynator_blank_line_between_single_line_accessors +# IDE0150: Prefer null check over type check +dotnet_diagnostic.IDE0150.severity = warning +# Options: csharp_style_prefer_null_check_over_type_check -# Add blank line between single-line declarations -dotnet_diagnostic.rcs0012.severity = suggestion +# IDE0160: Use block-scoped namespace +dotnet_diagnostic.IDE0160.severity = warning +# Options: csharp_style_namespace_declarations -# Add blank line between single-line declarations of different kind -dotnet_diagnostic.rcs0013.severity = suggestion +# IDE0161: Use file-scoped namespace +dotnet_diagnostic.IDE0161.severity = warning +# Options: csharp_style_namespace_declarations -# Add blank line between switch sections -dotnet_diagnostic.rcs0014.severity = suggestion -# Options: roslynator_blank_line_between_closing_brace_and_switch_section +# IDE0170: Simplify property pattern +dotnet_diagnostic.IDE0170.severity = warning +# Options: csharp_style_prefer_extended_property_pattern -# Add/remove blank line between using directives -dotnet_diagnostic.rcs0015.severity = suggestion -# Options: roslynator_blank_line_between_using_directives +# IDE0180: Use tuple to swap values +dotnet_diagnostic.IDE0180.severity = warning +# Options: csharp_style_prefer_tuple_swap -# Put attribute list on its own line -dotnet_diagnostic.rcs0016.severity = suggestion +# IDE0200: Remove unnecessary lambda expression +dotnet_diagnostic.IDE0200.severity = warning +# Options: csharp_style_prefer_method_group_conversion -# Format accessor's braces on a single line or multiple lines -dotnet_diagnostic.rcs0020.severity = suggestion -# Options: roslynator_accessor_braces_style +# IDE0210: Convert to top-level statements +dotnet_diagnostic.IDE0210.severity = warning +# Options: csharp_style_prefer_top_level_statements -# Format block's braces on a single line or multiple lines -dotnet_diagnostic.rcs0021.severity = suggestion -# Options: roslynator_block_braces_style +# IDE0211: Convert to 'Program.Main' style program +dotnet_diagnostic.IDE0211.severity = warning +# Options: csharp_style_prefer_top_level_statements -# Add new line after opening brace of empty block -dotnet_diagnostic.rcs0022.severity = suggestion +# IDE0220: Add explicit cast +dotnet_diagnostic.IDE0220.severity = warning +# Options: dotnet_style_prefer_foreach_explicit_cast_in_source -# Format type declaration's braces -dotnet_diagnostic.rcs0023.severity = suggestion +# IDE0230: Use UTF-8 string literal +dotnet_diagnostic.IDE0230.severity = warning +# Options: csharp_style_prefer_utf8_string_literals -# Add new line after switch label -dotnet_diagnostic.rcs0024.severity = suggestion +# IDE0240: Nullable directive is redundant +dotnet_diagnostic.IDE0240.severity = warning -# Put full accessor on its own line -dotnet_diagnostic.rcs0025.severity = suggestion +# IDE0241: Nullable directive is unnecessary +dotnet_diagnostic.IDE0241.severity = warning -# Place new line after/before binary operator -dotnet_diagnostic.rcs0027.severity = suggestion -# Options: roslynator_binary_operator_new_line +# IDE0250: Struct can be made 'readonly' +dotnet_diagnostic.IDE0250.severity = warning +# Options: csharp_style_prefer_readonly_struct -# Place new line after/before '?:' operator -dotnet_diagnostic.rcs0028.severity = suggestion -# Options: roslynator_conditional_operator_new_line +# IDE0251: Member can be made 'readonly' +dotnet_diagnostic.IDE0251.severity = warning +# Options: csharp_style_prefer_readonly_struct_member -# Put constructor initializer on its own line -dotnet_diagnostic.rcs0029.severity = none +# IDE0260: Use pattern matching +dotnet_diagnostic.IDE0260.severity = warning +# Options: csharp_style_pattern_matching_over_as_with_null_check -# Add new line before embedded statement -dotnet_diagnostic.rcs0030.severity = none +# IDE0270: Null check can be simplified (if null check) +dotnet_diagnostic.IDE0270.severity = warning +# Options: dotnet_style_coalesce_expression -# Add new line before enum member -dotnet_diagnostic.rcs0031.severity = suggestion +# IDE0280: Use 'nameof' +dotnet_diagnostic.IDE0280.severity = warning -# Place new line after/before arrow token -dotnet_diagnostic.rcs0032.severity = suggestion -# Options: roslynator_arrow_token_new_line +# IDE0290: Use primary constructor +dotnet_diagnostic.IDE0290.severity = warning +# Options: csharp_style_prefer_primary_constructors -# Add new line before statement -dotnet_diagnostic.rcs0033.severity = suggestion +# IDE1005: Use conditional delegate call +dotnet_diagnostic.IDE1005.severity = warning +# Options: csharp_style_conditional_delegate_call -# Add new line before type parameter constraint -dotnet_diagnostic.rcs0034.severity = suggestion +# Options -# Remove blank line between single-line declarations of same kind -dotnet_diagnostic.rcs0036.severity = suggestion +roslynator_accessibility_modifiers = explicit +# Applicable to: rcs1018 -# Remove blank line between using directives with same root namespace -dotnet_diagnostic.rcs0038.severity = suggestion +roslynator_array_creation_type_style = implicit_when_type_is_obvious +# Applicable to: rcs1014 -# Remove new line before base list -dotnet_diagnostic.rcs0039.severity = suggestion +roslynator_body_style = expression +# Applicable to: rcs1016 -# Remove new line between 'if' keyword and 'else' keyword -dotnet_diagnostic.rcs0041.severity = suggestion +roslynator_conditional_operator_condition_parentheses_style = omit_when_condition_is_single_token +# Applicable to: rcs1051 -# Put auto-accessors on a single line -dotnet_diagnostic.rcs0042.severity = suggestion +# roslynator_configure_await = true|false +# Applicable to: rcs1090 -# Format accessor's braces on a single line when expression is on single line -dotnet_diagnostic.rcs0043.severity = suggestion +roslynator_doc_comment_summary_style = multi_line +# Applicable to: rcs1253 -# Use carriage return + linefeed as new line -dotnet_diagnostic.rcs0044.severity = none +roslynator_empty_string_style = literal +# Applicable to: rcs1078 -# Use linefeed as new line -dotnet_diagnostic.rcs0045.severity = none +roslynator_enum_flag_value_style = shift_operator +# Applicable to: rcs1254 -# Use spaces instead of tab -dotnet_diagnostic.rcs0046.severity = none +roslynator_enum_has_flag_style = operator +# Applicable to: rcs1096 -# [deprecated] Wrap and indent each node in list -dotnet_diagnostic.rcs0047.severity = none +roslynator_infinite_loop_style = while +# Applicable to: rcs1252 -# Put initializer on a single line -dotnet_diagnostic.rcs0048.severity = none +roslynator_null_check_style = pattern_matching +# Applicable to: rcs1248 -# Add blank line after top comment -dotnet_diagnostic.rcs0049.severity = suggestion +roslynator_object_creation_parentheses_style = omit +# Applicable to: rcs1050 -# Add blank line before top declaration -dotnet_diagnostic.rcs0050.severity = suggestion +roslynator_object_creation_type_style = implicit_when_type_is_obvious +# Applicable to: rcs1250 -# Add/remove new line before 'while' in 'do' statement -dotnet_diagnostic.rcs0051.severity = suggestion -# Options: roslynator_new_line_before_while_in_do_statement +# roslynator_prefix_field_identifier_with_underscore = true|false -# Place new line after/before equals token -dotnet_diagnostic.rcs0052.severity = suggestion -# Options: roslynator_equals_token_new_line +roslynator_trailing_comma_style = omit_when_single_line +# Applicable to: rcs1260 -# Fix formatting of a list -dotnet_diagnostic.rcs0053.severity = suggestion +roslynator_unity_code_analysis.enabled = false +# Applicable to: rcs1169, rcs1213 -# Fix formatting of a call chain -dotnet_diagnostic.rcs0054.severity = suggestion +roslynator_use_anonymous_function_or_method_group = method_group +# Applicable to: rcs1207 -# Fix formatting of a binary expression chain -dotnet_diagnostic.rcs0055.severity = suggestion +roslynator_use_block_body_when_declaration_spans_over_multiple_lines = true +# Applicable to: rcs1016 -# A line is too long -dotnet_diagnostic.rcs0056.severity = none -# Options: roslynator_max_line_length +roslynator_use_block_body_when_expression_spans_over_multiple_lines = false +# Applicable to: rcs1016 -# Normalize whitespace at the beginning of a file -dotnet_diagnostic.rcs0057.severity = suggestion +roslynator_use_var_instead_of_implicit_object_creation = false +# Applicable to: rcs1250 -# Normalize whitespace at the end of a file -dotnet_diagnostic.rcs0058.severity = suggestion -# Options: roslynator_new_line_at_end_of_file -# Place new line after/before null-conditional operator -dotnet_diagnostic.rcs0059.severity = suggestion -# Options: roslynator_null_conditional_operator_new_line +# Analyzers # Add braces (when expression spans over multiple lines) dotnet_diagnostic.rcs1001.severity = suggestion # Remove braces -dotnet_diagnostic.rcs1002.severity = suggestion +dotnet_diagnostic.rcs1002.severity = none # Add braces to if-else (when expression spans over multiple lines) dotnet_diagnostic.rcs1003.severity = suggestion # Remove braces from if-else -dotnet_diagnostic.rcs1004.severity = suggestion +dotnet_diagnostic.rcs1004.severity = none # Simplify nested using statement dotnet_diagnostic.rcs1005.severity = silent @@ -1290,19 +2473,19 @@ dotnet_diagnostic.rcs1005.severity = silent dotnet_diagnostic.rcs1006.severity = silent # Add braces -dotnet_diagnostic.rcs1007.severity = suggestion +dotnet_diagnostic.rcs1007.severity = none # Use explicit type instead of 'var' (when the type is not obvious) -dotnet_diagnostic.rcs1008.severity = suggestion +dotnet_diagnostic.rcs1008.severity = none # Use explicit type instead of 'var' (foreach variable) -dotnet_diagnostic.rcs1009.severity = suggestion +dotnet_diagnostic.rcs1009.severity = none # Use 'var' instead of explicit type (when the type is obvious) dotnet_diagnostic.rcs1010.severity = suggestion # Use explicit type instead of 'var' (when the type is obvious) -dotnet_diagnostic.rcs1012.severity = suggestion +dotnet_diagnostic.rcs1012.severity = none # Use predefined type dotnet_diagnostic.rcs1013.severity = suggestion @@ -1323,7 +2506,7 @@ dotnet_diagnostic.rcs1018.severity = suggestion # Options: roslynator_accessibility_modifiers # Order modifiers -dotnet_diagnostic.rcs1019.severity = suggestion +dotnet_diagnostic.rcs1019.severity = none # Simplify Nullable to T? dotnet_diagnostic.rcs1020.severity = suggestion @@ -1331,7 +2514,7 @@ dotnet_diagnostic.rcs1020.severity = suggestion # Convert lambda expression body to expression body dotnet_diagnostic.rcs1021.severity = suggestion -# Remove unnecessary braces +# Remove unnecessary braces in switch section dotnet_diagnostic.rcs1031.severity = silent # Remove redundant parentheses @@ -1341,30 +2524,18 @@ dotnet_diagnostic.rcs1032.severity = suggestion dotnet_diagnostic.rcs1033.severity = suggestion # Remove redundant 'sealed' modifier -dotnet_diagnostic.rcs1034.severity = silent - -# Remove redundant comma in initializer -dotnet_diagnostic.rcs1035.severity = none +dotnet_diagnostic.rcs1034.severity = suggestion # Remove unnecessary blank line -dotnet_diagnostic.rcs1036.severity = suggestion +dotnet_diagnostic.rcs1036.severity = silent # Options: roslynator_blank_line_between_closing_brace_and_switch_section # Remove trailing white-space -dotnet_diagnostic.rcs1037.severity = suggestion - -# Remove empty statement -dotnet_diagnostic.rcs1038.severity = suggestion +dotnet_diagnostic.rcs1037.severity = silent # Remove argument list from attribute dotnet_diagnostic.rcs1039.severity = silent -# Remove empty 'else' clause -dotnet_diagnostic.rcs1040.severity = silent - -# Remove empty initializer -dotnet_diagnostic.rcs1041.severity = suggestion - # Remove enum default underlying type dotnet_diagnostic.rcs1042.severity = silent @@ -1395,9 +2566,9 @@ dotnet_diagnostic.rcs1051.severity = suggestion # Options: roslynator_conditional_operator_condition_parentheses_style # Declare each attribute separately -dotnet_diagnostic.rcs1052.severity = suggestion +dotnet_diagnostic.rcs1052.severity = none -# Avoid semicolon at the end of declaration +# Unnecessary semicolon at the end of declaration dotnet_diagnostic.rcs1055.severity = silent # Avoid usage of using alias directive @@ -1410,23 +2581,11 @@ dotnet_diagnostic.rcs1058.severity = suggestion dotnet_diagnostic.rcs1059.severity = warning # Declare each type in separate file -dotnet_diagnostic.rcs1060.severity = none +dotnet_diagnostic.rcs1060.severity = suggestion # Merge 'if' with nested 'if' dotnet_diagnostic.rcs1061.severity = silent -# Avoid usage of do statement to create an infinite loop -dotnet_diagnostic.rcs1063.severity = suggestion - -# Avoid usage of for statement to create an infinite loop -dotnet_diagnostic.rcs1064.severity = none - -# Avoid usage of while statement to create an infinite loop -dotnet_diagnostic.rcs1065.severity = none - -# Remove empty 'finally' clause -dotnet_diagnostic.rcs1066.severity = silent - # Simplify logical negation dotnet_diagnostic.rcs1068.severity = suggestion @@ -1439,9 +2598,6 @@ dotnet_diagnostic.rcs1070.severity = silent # Remove redundant base constructor call dotnet_diagnostic.rcs1071.severity = silent -# Remove empty namespace declaration -dotnet_diagnostic.rcs1072.severity = suggestion - # Convert 'if' to 'return' statement dotnet_diagnostic.rcs1073.severity = suggestion @@ -1462,10 +2618,10 @@ dotnet_diagnostic.rcs1078.severity = suggestion dotnet_diagnostic.rcs1079.severity = none # Use 'Count/Length' property instead of 'Any' method -dotnet_diagnostic.rcs1080.severity = suggestion +dotnet_diagnostic.rcs1080.severity = none # Split variable declaration -dotnet_diagnostic.rcs1081.severity = suggestion +dotnet_diagnostic.rcs1081.severity = none # Use coalesce expression instead of conditional expression dotnet_diagnostic.rcs1084.severity = suggestion @@ -1477,17 +2633,14 @@ dotnet_diagnostic.rcs1085.severity = suggestion dotnet_diagnostic.rcs1089.severity = suggestion # Add/remove 'ConfigureAwait(false)' call -dotnet_diagnostic.rcs1090.severity = suggestion +dotnet_diagnostic.rcs1090.severity = none # Options: roslynator_configure_await -# Remove empty region -dotnet_diagnostic.rcs1091.severity = silent - -# Remove file with no code +# File contains no code dotnet_diagnostic.rcs1093.severity = suggestion # Declare using directive on top level -dotnet_diagnostic.rcs1094.severity = suggestion +dotnet_diagnostic.rcs1094.severity = none # Use 'HasFlag' method or bitwise operator dotnet_diagnostic.rcs1096.severity = suggestion @@ -1502,12 +2655,6 @@ dotnet_diagnostic.rcs1098.severity = suggestion # Default label should be the last label in a switch section dotnet_diagnostic.rcs1099.severity = suggestion -# Format documentation summary on a single line -dotnet_diagnostic.rcs1100.severity = suggestion - -# Format documentation summary on multiple lines -dotnet_diagnostic.rcs1101.severity = suggestion - # Make class static dotnet_diagnostic.rcs1102.severity = warning @@ -1520,9 +2667,6 @@ dotnet_diagnostic.rcs1104.severity = suggestion # Unnecessary interpolation dotnet_diagnostic.rcs1105.severity = suggestion -# Remove empty destructor -dotnet_diagnostic.rcs1106.severity = suggestion - # Remove redundant 'ToCharArray' call dotnet_diagnostic.rcs1107.severity = suggestion @@ -1554,7 +2698,7 @@ dotnet_diagnostic.rcs1123.severity = suggestion dotnet_diagnostic.rcs1124.severity = silent # Add braces to if-else -dotnet_diagnostic.rcs1126.severity = suggestion +dotnet_diagnostic.rcs1126.severity = none # Use coalesce expression dotnet_diagnostic.rcs1128.severity = suggestion @@ -1632,7 +2776,7 @@ dotnet_diagnostic.rcs1160.severity = suggestion dotnet_diagnostic.rcs1161.severity = silent # Avoid chain of assignments -dotnet_diagnostic.rcs1162.severity = suggestion +dotnet_diagnostic.rcs1162.severity = none # Unused parameter dotnet_diagnostic.rcs1163.severity = suggestion @@ -1641,16 +2785,17 @@ dotnet_diagnostic.rcs1163.severity = suggestion dotnet_diagnostic.rcs1164.severity = suggestion # Unconstrained type parameter checked for null -dotnet_diagnostic.rcs1165.severity = silent +dotnet_diagnostic.rcs1165.severity = suggestion # Value type object is never equal to null dotnet_diagnostic.rcs1166.severity = suggestion # Parameter name differs from base name -dotnet_diagnostic.rcs1168.severity = silent +dotnet_diagnostic.rcs1168.severity = suggestion # Make field read-only dotnet_diagnostic.rcs1169.severity = suggestion +# Options: roslynator_unity_code_analysis.enabled # Use read-only auto-implemented property dotnet_diagnostic.rcs1170.severity = suggestion @@ -1667,7 +2812,7 @@ dotnet_diagnostic.rcs1173.severity = suggestion # Remove redundant async/await dotnet_diagnostic.rcs1174.severity = suggestion -# Unused this parameter +# Unused 'this' parameter dotnet_diagnostic.rcs1175.severity = suggestion # Use 'var' instead of explicit type (when the type is not obvious) @@ -1772,7 +2917,7 @@ dotnet_diagnostic.rcs1212.severity = suggestion # Remove unused member declaration dotnet_diagnostic.rcs1213.severity = suggestion -# Options: roslynator_suppress_unity_script_methods +# Options: roslynator_unity_code_analysis.enabled # Unnecessary interpolated string dotnet_diagnostic.rcs1214.severity = suggestion @@ -1799,7 +2944,7 @@ dotnet_diagnostic.rcs1221.severity = suggestion dotnet_diagnostic.rcs1222.severity = suggestion # Mark publicly visible type with DebuggerDisplay attribute -dotnet_diagnostic.rcs1223.severity = none +dotnet_diagnostic.rcs1223.severity = suggestion # Make method an extension method dotnet_diagnostic.rcs1224.severity = suggestion @@ -1840,9 +2985,6 @@ dotnet_diagnostic.rcs1235.severity = suggestion # Use exception filter dotnet_diagnostic.rcs1236.severity = suggestion -# Use bit shift operator -dotnet_diagnostic.rcs1237.severity = silent - # Avoid nested ?: operators dotnet_diagnostic.rcs1238.severity = silent @@ -1881,38 +3023,72 @@ dotnet_diagnostic.rcs1249.severity = suggestion dotnet_diagnostic.rcs1250.severity = suggestion # Options: roslynator_object_creation_type_style, roslynator_use_var_instead_of_implicit_object_creation +# Remove unnecessary braces from record declaration +dotnet_diagnostic.rcs1251.severity = suggestion + +# Normalize usage of infinite loop +dotnet_diagnostic.rcs1252.severity = suggestion +# Options: roslynator_infinite_loop_style + +# Format documentation comment summary +dotnet_diagnostic.rcs1253.severity = none +# Options: roslynator_doc_comment_summary_style + +# Normalize format of enum flag value +dotnet_diagnostic.rcs1254.severity = suggestion +# Options: roslynator_enum_flag_value_style + +# Simplify argument null check +dotnet_diagnostic.rcs1255.severity = none + +# Invalid argument null check +dotnet_diagnostic.rcs1256.severity = suggestion + +# Use enum field explicitly +dotnet_diagnostic.rcs1257.severity = suggestion + +# Unnecessary enum flag +dotnet_diagnostic.rcs1258.severity = suggestion + +# Remove empty syntax +dotnet_diagnostic.rcs1259.severity = suggestion + +# Add/remove trailing comma +dotnet_diagnostic.rcs1260.severity = suggestion +# Options: roslynator_trailing_comma_style + # Use pattern matching -dotnet_diagnostic.rcs9001.severity = silent +dotnet_diagnostic.rcs9001.severity = none # Use property SyntaxNode.SpanStart -dotnet_diagnostic.rcs9002.severity = suggestion +dotnet_diagnostic.rcs9002.severity = none # Unnecessary conditional access -dotnet_diagnostic.rcs9003.severity = suggestion +dotnet_diagnostic.rcs9003.severity = none # Call 'Any' instead of accessing 'Count' -dotnet_diagnostic.rcs9004.severity = suggestion +dotnet_diagnostic.rcs9004.severity = none # Unnecessary null check -dotnet_diagnostic.rcs9005.severity = suggestion +dotnet_diagnostic.rcs9005.severity = none # Use element access -dotnet_diagnostic.rcs9006.severity = suggestion +dotnet_diagnostic.rcs9006.severity = none # Use return value -dotnet_diagnostic.rcs9007.severity = warning +dotnet_diagnostic.rcs9007.severity = none # Call 'Last' instead of using [] -dotnet_diagnostic.rcs9008.severity = suggestion +dotnet_diagnostic.rcs9008.severity = none # Unknown language name -dotnet_diagnostic.rcs9009.severity = warning +dotnet_diagnostic.rcs9009.severity = none # Specify ExportCodeRefactoringProviderAttribute.Name -dotnet_diagnostic.rcs9010.severity = silent +dotnet_diagnostic.rcs9010.severity = none # Specify ExportCodeFixProviderAttribute.Name -dotnet_diagnostic.rcs9011.severity = silent +dotnet_diagnostic.rcs9011.severity = none # Refactorings @@ -1935,6 +3111,11 @@ roslynator_refactoring.add_using_directive.enabled = true roslynator_refactoring.add_using_static_directive.enabled = true roslynator_refactoring.call_extension_method_as_instance_method.enabled = true roslynator_refactoring.call_indexof_instead_of_contains.enabled = true +roslynator_refactoring.change_accessibility.enabled = true +roslynator_refactoring.change_method_return_type_to_void.enabled = true +roslynator_refactoring.change_type_according_to_expression.enabled = true +roslynator_refactoring.check_expression_for_null.enabled = true +roslynator_refactoring.check_parameter_for_null.enabled = true roslynator_refactoring.comment_out_member_declaration.enabled = true roslynator_refactoring.comment_out_statement.enabled = true roslynator_refactoring.convert_auto_property_to_full_property.enabled = true @@ -1947,7 +3128,7 @@ roslynator_refactoring.convert_expression_body_to_block_body.enabled = true roslynator_refactoring.convert_for_to_foreach.enabled = true roslynator_refactoring.convert_for_to_while.enabled = true roslynator_refactoring.convert_foreach_to_for.enabled = true -roslynator_refactoring.convert_foreach_to_for_and_reverse_loop.enabled = true +roslynator_refactoring.convert_foreach_to_for_and_reverse_loop.enabled = false roslynator_refactoring.convert_hasflag_call_to_bitwise_operation.enabled = true roslynator_refactoring.convert_hexadecimal_literal_to_decimal_literal.enabled = true roslynator_refactoring.convert_if_to_conditional_expression.enabled = true @@ -1974,10 +3155,11 @@ roslynator_refactoring.copy_member_declaration.enabled = true roslynator_refactoring.copy_parameter.enabled = true roslynator_refactoring.copy_statement.enabled = true roslynator_refactoring.copy_switch_section.enabled = true +roslynator_refactoring.deconstruct_foreach_variable.enabled = true roslynator_refactoring.expand_coalesce_expression.enabled = true roslynator_refactoring.expand_compound_assignment.enabled = true roslynator_refactoring.expand_event_declaration.enabled = true -roslynator_refactoring.expand_initializer.enabled = true +roslynator_refactoring.expand_initializer.enabled = false roslynator_refactoring.expand_positional_constructor.enabled = true roslynator_refactoring.extract_event_handler_method.enabled = true roslynator_refactoring.extract_expression_from_condition.enabled = true @@ -1988,11 +3170,6 @@ roslynator_refactoring.generate_enum_member.enabled = true roslynator_refactoring.generate_enum_values.enabled = true roslynator_refactoring.generate_event_invoking_method.enabled = true roslynator_refactoring.generate_property_for_debuggerdisplay_attribute.enabled = true -roslynator_refactoring.change_accessibility.enabled = true -roslynator_refactoring.change_method_return_type_to_void.enabled = true -roslynator_refactoring.change_type_according_to_expression.enabled = true -roslynator_refactoring.check_expression_for_null.enabled = true -roslynator_refactoring.check_parameter_for_null.enabled = true roslynator_refactoring.implement_custom_enumerator.enabled = true roslynator_refactoring.implement_iequatable.enabled = true roslynator_refactoring.initialize_field_from_constructor.enabled = true @@ -2006,7 +3183,7 @@ roslynator_refactoring.inline_using_static.enabled = true roslynator_refactoring.insert_string_interpolation.enabled = true roslynator_refactoring.introduce_and_initialize_field.enabled = true roslynator_refactoring.introduce_and_initialize_property.enabled = true -roslynator_refactoring.introduce_constructor.enabled = true +roslynator_refactoring.introduce_constructor.enabled = false roslynator_refactoring.introduce_field_to_lock_on.enabled = true roslynator_refactoring.introduce_local_variable.enabled = true roslynator_refactoring.invert_binary_expression.enabled = true @@ -2032,13 +3209,13 @@ roslynator_refactoring.parenthesize_expression.enabled = true roslynator_refactoring.promote_local_variable_to_parameter.enabled = true roslynator_refactoring.remove_all_comments.enabled = true roslynator_refactoring.remove_all_comments_except_documentation_comments.enabled = true -roslynator_refactoring.remove_all_documentation_comments.enabled = true +roslynator_refactoring.remove_all_documentation_comments.enabled = false roslynator_refactoring.remove_all_member_declarations.enabled = true roslynator_refactoring.remove_all_preprocessor_directives.enabled = true roslynator_refactoring.remove_all_region_directives.enabled = true roslynator_refactoring.remove_all_statements.enabled = true roslynator_refactoring.remove_all_switch_sections.enabled = true -roslynator_refactoring.remove_argument_name.enabled = true +roslynator_refactoring.remove_argument_name.enabled = false roslynator_refactoring.remove_async_await.enabled = true roslynator_refactoring.remove_braces.enabled = true roslynator_refactoring.remove_braces_from_if_else.enabled = true @@ -2081,6 +3258,7 @@ roslynator_refactoring.sort_member_declarations.enabled = true roslynator_refactoring.split_attributes.enabled = true roslynator_refactoring.split_if.enabled = true roslynator_refactoring.split_if_else.enabled = true +roslynator_refactoring.split_local_declaration_and_assignment.enabled = true roslynator_refactoring.split_switch_labels.enabled = true roslynator_refactoring.split_variable_declaration.enabled = true roslynator_refactoring.swap_binary_operands.enabled = true @@ -2285,6 +3463,8 @@ roslynator_compiler_diagnostic_fix.cs8112.enabled = true roslynator_compiler_diagnostic_fix.cs8139.enabled = true roslynator_compiler_diagnostic_fix.cs8340.enabled = true roslynator_compiler_diagnostic_fix.cs8403.enabled = true +roslynator_compiler_diagnostic_fix.cs8602.enabled = true +roslynator_compiler_diagnostic_fix.cs8604.enabled = true roslynator_compiler_diagnostic_fix.cs8618.enabled = true roslynator_compiler_diagnostic_fix.cs8625.enabled = true roslynator_compiler_diagnostic_fix.cs8632.enabled = true @@ -2306,20 +3486,1488 @@ ij_xml_space_around_equals_in_attribute = false ij_xml_space_inside_empty_tag = true ij_xml_text_wrap = off -# Microsoft .NET properties -dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper = True -dotnet_naming_rule.unity_serialized_field_rule.resharper_description = Unity serialized field -dotnet_naming_rule.unity_serialized_field_rule.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef -dotnet_naming_rule.unity_serialized_field_rule.severity = warning -dotnet_naming_rule.unity_serialized_field_rule.style = lower_camel_case_style -dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols -dotnet_naming_style.lower_camel_case_style.capitalization = camel_case -dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = * -dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds = -dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds = unity_serialised_field -dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers = instance +resharper_accessor_owner_body = expression_body +resharper_alignment_tab_fill_style = use_spaces +resharper_align_first_arg_by_paren = false +resharper_align_linq_query = true +resharper_align_multiline_array_and_object_initializer = true +resharper_align_multiline_array_initializer = true +resharper_align_multiline_binary_expressions_chain = false +resharper_align_multiline_binary_patterns = true +resharper_align_multiline_calls_chain = true +resharper_align_multiline_comments = true +resharper_align_multiline_ctor_init = true +resharper_align_multiline_expression_braces = false +resharper_align_multiline_for_stmt = true +resharper_align_multiline_implements_list = true +resharper_align_multiline_list_pattern = false +resharper_align_multiline_property_pattern = false +resharper_align_multiline_statement_conditions = true +resharper_align_multiline_switch_expression = true +resharper_align_multiline_type_argument = true +resharper_align_multiline_type_parameter = true +resharper_align_multline_type_parameter_constrains = true +resharper_align_multline_type_parameter_list = true +resharper_align_ternary = align_not_nested +resharper_align_tuple_components = true +resharper_allow_alias = true +resharper_allow_comment_after_lbrace = false +resharper_allow_far_alignment = false +resharper_allow_high_precedence_app_parens = true +resharper_always_use_end_of_line_brace_style = false +resharper_apply_auto_detected_rules = false +resharper_apply_on_completion = false +resharper_arguments_anonymous_function = positional +resharper_arguments_literal = positional +resharper_arguments_named = positional +resharper_arguments_other = positional +resharper_arguments_skip_single = false +resharper_arguments_string_literal = positional +resharper_autodetect_indent_settings = true +resharper_blank_lines_after_access_specifier = 0 +resharper_blank_lines_after_block_statements = 1 +resharper_blank_lines_after_case = 0 +resharper_blank_lines_after_control_transfer_statements = 0 +resharper_blank_lines_after_file_scoped_namespace_directive = 1 +resharper_blank_lines_after_imports = 1 +resharper_blank_lines_after_multiline_statements = 0 +resharper_blank_lines_after_options = 1 +resharper_blank_lines_after_start_comment = 1 +resharper_blank_lines_after_using_list = 1 +resharper_blank_lines_around_accessor = 0 +resharper_blank_lines_around_auto_property = 1 +resharper_blank_lines_around_block_case_section = 0 +resharper_blank_lines_around_class_definition = 1 +resharper_blank_lines_around_different_module_member_kinds = 1 +resharper_blank_lines_around_field = 1 +resharper_blank_lines_around_function_declaration = 0 +resharper_blank_lines_around_function_definition = 1 +resharper_blank_lines_around_global_attribute = 0 +resharper_blank_lines_around_invocable = 1 +resharper_blank_lines_around_local_method = 1 +resharper_blank_lines_around_multiline_case_section = 0 +resharper_blank_lines_around_multiline_module_members = 1 +resharper_blank_lines_around_namespace = 1 +resharper_blank_lines_around_other_declaration = 0 +resharper_blank_lines_around_property = 1 +resharper_blank_lines_around_razor_functions = 1 +resharper_blank_lines_around_razor_helpers = 1 +resharper_blank_lines_around_razor_sections = 1 +resharper_blank_lines_around_region = 1 +resharper_blank_lines_around_single_line_accessor = 0 +resharper_blank_lines_around_single_line_auto_property = 0 +resharper_blank_lines_around_single_line_field = 0 +resharper_blank_lines_around_single_line_function_definition = 0 +resharper_blank_lines_around_single_line_invocable = 0 +resharper_blank_lines_around_single_line_local_method = 0 +resharper_blank_lines_around_single_line_module_member = 0 +resharper_blank_lines_around_single_line_property = 0 +resharper_blank_lines_around_single_line_type = 1 +resharper_blank_lines_around_type = 1 +resharper_blank_lines_before_access_specifier = 1 +resharper_blank_lines_before_block_statements = 0 +resharper_blank_lines_before_case = 0 +resharper_blank_lines_before_control_transfer_statements = 0 +resharper_blank_lines_before_first_module_member_in_nested_module = 0 +resharper_blank_lines_before_first_module_member_in_top_level_module = 1 +resharper_blank_lines_before_multiline_statements = 0 +resharper_blank_lines_before_single_line_comment = 0 +resharper_blank_lines_inside_namespace = 0 +resharper_blank_lines_inside_region = 1 +resharper_blank_lines_inside_type = 0 +resharper_blank_line_after_pi = true +resharper_blank_line_around_top_level_modules = 2 +resharper_braces_for_dowhile = required +resharper_braces_for_fixed = required +resharper_braces_for_for = required +resharper_braces_for_foreach = required +resharper_braces_for_ifelse = not_required_for_both +resharper_braces_for_lock = required +resharper_braces_for_using = required +resharper_braces_for_while = required +resharper_braces_redundant = true +resharper_break_template_declaration = line_break +resharper_builtin_type_apply_to_native_integer = false +resharper_can_use_global_alias = true +resharper_configure_await_analysis_mode = disabled +resharper_constructor_or_destructor_body = block_body +resharper_continuous_indent_multiplier = 1 +resharper_continuous_line_indent = single +resharper_csharp_align_multiline_argument = false +resharper_csharp_align_multiline_expression = false +resharper_csharp_align_multiline_extends_list = false +resharper_csharp_align_multiline_parameter = false +resharper_csharp_align_multiple_declaration = false +resharper_csharp_empty_block_style = together_same_line +resharper_csharp_insert_final_newline = false +resharper_csharp_int_align_comments = true +resharper_csharp_keep_nontrivial_alias = false +resharper_csharp_max_line_length = 160 +resharper_csharp_naming_rule.enum_member = AaBb +resharper_csharp_naming_rule.method_property_event = AaBb +resharper_csharp_naming_rule.other = AaBb +resharper_csharp_outdent_commas = true +resharper_csharp_outdent_dots = true +resharper_csharp_place_comments_at_first_column = true +resharper_csharp_prefer_qualified_reference = false +resharper_csharp_space_after_unary_operator = false +resharper_csharp_wrap_after_declaration_lpar = true +resharper_csharp_wrap_after_invocation_lpar = true +resharper_csharp_wrap_arguments_style = chop_if_long +resharper_csharp_wrap_before_binary_opsign = true +resharper_csharp_wrap_before_declaration_rpar = true +resharper_csharp_wrap_before_first_type_parameter_constraint = true +resharper_csharp_wrap_before_invocation_rpar = true +resharper_csharp_wrap_lines = true +resharper_csharp_wrap_parameters_style = chop_if_long +resharper_cxxcli_property_declaration_braces = next_line +resharper_declaration_body_on_the_same_line = if_owner_is_single_line +resharper_default_exception_variable_name = e +resharper_default_value_when_type_evident = default_literal +resharper_default_value_when_type_not_evident = default_literal +resharper_delete_quotes_from_solid_values = false +resharper_disable_blank_line_changes = false +resharper_disable_formatter = false +resharper_disable_indenter = false +resharper_disable_int_align = false +resharper_disable_line_break_changes = false +resharper_disable_line_break_removal = false +resharper_disable_space_changes = false +resharper_disable_space_changes_before_trailing_comment = false +resharper_dont_remove_extra_blank_lines = false +resharper_enable_wrapping = false +resharper_enforce_line_ending_style = false +resharper_event_handler_pattern_long = $object$On$event$ +resharper_event_handler_pattern_short = On$event$ +resharper_export_declaration_braces = next_line +resharper_expression_braces = inside +resharper_expression_pars = inside +resharper_extra_spaces = remove_all +resharper_force_attribute_style = separate +resharper_force_chop_compound_do_expression = false +resharper_force_chop_compound_if_expression = false +resharper_force_chop_compound_while_expression = false +resharper_formatter_off_tag = @formatter:off +resharper_formatter_on_tag = @formatter:on +resharper_formatter_tags_accept_regexp = false +resharper_formatter_tags_enabled = true +resharper_format_leading_spaces_decl = false +resharper_free_block_braces = next_line +resharper_fsharp_empty_block_style = together_same_line +resharper_fsharp_insert_final_newline = false +resharper_fsharp_max_line_length = 160 +resharper_fsharp_place_comments_at_first_column = false +resharper_fsharp_type_declaration_braces = pico +resharper_fsharp_wrap_lines = true +resharper_function_declaration_return_type_style = do_not_change +resharper_function_definition_return_type_style = do_not_change +resharper_generator_mode = false +resharper_html_attribute_indent = align_by_first_attribute +resharper_html_attribute_style = do_not_touch +resharper_html_insert_final_newline = false +resharper_html_linebreak_before_elements = body,div,p,form,h1,h2,h3 +resharper_html_max_blank_lines_between_tags = 2 +resharper_html_max_line_length = 160 +resharper_html_pi_attribute_style = on_single_line +resharper_html_space_after_last_pi_attribute = false +resharper_html_space_before_self_closing = false +resharper_html_wrap_lines = true +resharper_ignore_space_preservation = false +resharper_include_prefix_comment_in_indent = false +resharper_indent_access_specifiers_from_class = false +resharper_indent_aligned_ternary = true +resharper_indent_anonymous_method_block = true +resharper_indent_braces_inside_statement_conditions = true +resharper_indent_case_from_select = true +resharper_indent_child_elements = OneIndent +resharper_indent_class_members_from_access_specifiers = false +resharper_indent_comment = true +resharper_indent_export_declaration_members = true +resharper_indent_inside_namespace = true +resharper_indent_invocation_pars = inside +resharper_indent_member_initializer_list = true +resharper_indent_method_decl_pars = inside +resharper_indent_nested_fixed_stmt = false +resharper_indent_nested_foreach_stmt = false +resharper_indent_nested_for_stmt = false +resharper_indent_nested_lock_stmt = false +resharper_indent_nested_usings_stmt = false +resharper_indent_nested_while_stmt = false +resharper_indent_pars = inside +resharper_indent_preprocessor_directives = none +resharper_indent_preprocessor_if = usual_indent +resharper_indent_preprocessor_other = usual_indent +resharper_indent_preprocessor_region = usual_indent +resharper_indent_primary_constructor_decl_pars = inside +resharper_indent_raw_literal_string = indent +resharper_indent_statement_pars = inside +resharper_indent_text = OneIndent +resharper_indent_typearg_angles = inside +resharper_indent_typeparam_angles = inside +resharper_indent_type_constraints = true +resharper_indent_wrapped_function_names = false +resharper_instance_members_qualify_declared_in = this_class, base_class +resharper_int_align_assignments = false +resharper_int_align_binary_expressions = true +resharper_int_align_bitfield_sizes = false +resharper_int_align_declaration_names = false +resharper_int_align_enum_initializers = false +resharper_int_align_eq = false +resharper_int_align_fields = true +resharper_int_align_fix_in_adjacent = true +resharper_int_align_invocations = false +resharper_int_align_methods = true +resharper_int_align_nested_ternary = true +resharper_int_align_parameters = true +resharper_int_align_properties = true +resharper_int_align_property_patterns = false +resharper_int_align_switch_expressions = true +resharper_int_align_switch_sections = true +resharper_int_align_variables = false +resharper_keep_blank_lines_in_code = 2 +resharper_keep_blank_lines_in_declarations = 2 +resharper_keep_existing_attribute_arrangement = false +resharper_keep_existing_declaration_block_arrangement = false +resharper_keep_existing_declaration_parens_arrangement = true +resharper_keep_existing_embedded_arrangement = true +resharper_keep_existing_embedded_block_arrangement = false +resharper_keep_existing_expr_member_arrangement = true +resharper_keep_existing_invocation_parens_arrangement = true +resharper_keep_existing_line_break_before_declaration_body = true +resharper_keep_existing_list_patterns_arrangement = true +resharper_keep_existing_primary_constructor_declaration_parens_arrangement = true +resharper_keep_existing_property_patterns_arrangement = true +resharper_keep_existing_switch_expression_arrangement = false +resharper_keep_max_blank_line_around_module_members = 2 +resharper_keep_user_linebreaks = true +resharper_keep_user_wrapping = true +resharper_linebreaks_around_razor_statements = true +resharper_linebreaks_inside_tags_for_elements_longer_than = 2147483647 +resharper_linebreaks_inside_tags_for_elements_with_child_elements = true +resharper_linebreaks_inside_tags_for_multiline_elements = true +resharper_linebreak_before_all_elements = false +resharper_linebreak_before_multiline_elements = true +resharper_linebreak_before_singleline_elements = false +resharper_line_break_after_colon_in_member_initializer_lists = do_not_change +resharper_line_break_after_comma_in_member_initializer_lists = false +resharper_line_break_after_deref_in_trailing_return_types = do_not_change +resharper_line_break_after_init_statement = do_not_change +resharper_line_break_after_type_repr_access_modifier = true +resharper_line_break_before_comma_in_member_initializer_lists = false +resharper_line_break_before_deref_in_trailing_return_types = do_not_change +resharper_line_break_before_requires_clause = do_not_change +resharper_linkage_specification_braces = end_of_line +resharper_linkage_specification_indentation = none +resharper_local_function_body = block_body +resharper_macro_block_begin = +resharper_macro_block_end = +resharper_max_array_initializer_elements_on_line = 10 +resharper_max_attribute_length_for_same_line = 5 +resharper_max_enum_members_on_line = 3 +resharper_max_formal_parameters_on_line = 10 +resharper_max_initializer_elements_on_line = 3 +resharper_max_invocation_arguments_on_line = 5 +resharper_max_primary_constructor_parameters_on_line = 5 +resharper_member_initializer_list_style = do_not_change +resharper_method_or_operator_body = block_body +resharper_namespace_declaration_braces = next_line +resharper_namespace_indentation = all +resharper_nested_ternary_style = autodetect +resharper_never_outdent_pipe_operators = true +resharper_new_line_before_catch = true +resharper_new_line_before_else = true +resharper_new_line_before_enumerators = true +resharper_new_line_before_while = true +resharper_normalize_tag_names = false +resharper_no_indent_inside_elements = html,body,thead,tbody,tfoot +resharper_no_indent_inside_if_element_longer_than = 160 +resharper_null_checking_pattern_style = empty_recursive_pattern +resharper_object_creation_when_type_evident = target_typed +resharper_object_creation_when_type_not_evident = target_typed +resharper_old_engine = false +resharper_outdent_binary_operators = true +resharper_outdent_binary_ops = true +resharper_outdent_binary_pattern_ops = true +resharper_outdent_namespace_member = false +resharper_outdent_statement_labels = true +resharper_outdent_ternary_ops = false +resharper_parentheses_non_obvious_operations = none, shift, bitwise_and, bitwise_exclusive_or, bitwise_inclusive_or, bitwise +resharper_parentheses_redundancy_style = remove_if_not_clarifies_precedence +resharper_parentheses_same_type_operations = true +resharper_pi_attributes_indent = align_by_first_attribute +resharper_place_accessorholder_attribute_on_same_line = false +resharper_place_accessor_attribute_on_same_line = if_owner_is_single_line +resharper_place_constructor_initializer_on_same_line = true +resharper_place_event_attribute_on_same_line = false +resharper_place_expr_accessor_on_single_line = if_owner_is_single_line +resharper_place_expr_method_on_single_line = if_owner_is_single_line +resharper_place_expr_property_on_single_line = if_owner_is_single_line +resharper_place_field_attribute_on_same_line = if_owner_is_single_line +resharper_place_linq_into_on_new_line = true +resharper_place_method_attribute_on_same_line = false +resharper_place_namespace_definitions_on_same_line = false +resharper_place_property_attribute_on_same_line = false +resharper_place_record_field_attribute_on_same_line = if_owner_is_single_line +resharper_place_simple_case_statement_on_same_line = false +resharper_place_simple_embedded_statement_on_same_line = if_owner_is_single_line +resharper_place_simple_initializer_on_single_line = true +resharper_place_simple_list_pattern_on_single_line = true +resharper_place_simple_property_pattern_on_single_line = true +resharper_place_simple_switch_expression_on_single_line = true +resharper_place_type_attribute_on_same_line = false +resharper_place_type_constraints_on_same_line = true +resharper_prefer_explicit_discard_declaration = false +resharper_prefer_separate_deconstructed_variables_declaration = true +resharper_preserve_spaces_inside_tags = pre,textarea +resharper_qualified_using_at_nested_scope = false +resharper_quote_style = doublequoted +resharper_razor_prefer_qualified_reference = true +resharper_remove_blank_lines_near_braces = false +resharper_remove_blank_lines_near_braces_in_code = true +resharper_remove_blank_lines_near_braces_in_declarations = true +resharper_remove_only_unused_aliases = true +resharper_remove_this_qualifier = true +resharper_remove_unused_only_aliases = false +resharper_requires_expression_braces = next_line +resharper_resx_attribute_indent = single_indent +resharper_resx_attribute_style = do_not_touch +resharper_resx_insert_final_newline = false +resharper_resx_linebreak_before_elements = +resharper_resx_max_blank_lines_between_tags = 0 +resharper_resx_max_line_length = 2147483647 +resharper_resx_pi_attribute_style = do_not_touch +resharper_resx_space_after_last_pi_attribute = false +resharper_resx_space_before_self_closing = false +resharper_resx_wrap_lines = false +resharper_resx_wrap_tags_and_pi = false +resharper_resx_wrap_text = false +resharper_show_autodetect_configure_formatting_tip = false +resharper_simple_block_style = do_not_change +resharper_simple_case_statement_style = do_not_change +resharper_simple_embedded_statement_style = do_not_change +resharper_sort_attributes = false +resharper_sort_class_selectors = false +resharper_sort_usings = true +resharper_sort_usings_lowercase_first = false +resharper_spaces_around_eq_in_attribute = false +resharper_spaces_around_eq_in_pi_attribute = false +resharper_spaces_inside_tags = false +resharper_space_after_attributes = true +resharper_space_after_attribute_target_colon = true +resharper_space_after_cast = false +resharper_space_after_colon = true +resharper_space_after_colon_in_bitfield_declarator = true +resharper_space_after_colon_in_case = true +resharper_space_after_colon_in_inheritance_clause = true +resharper_space_after_comma = true +resharper_space_after_ellipsis_in_parameter_pack = true +resharper_space_after_for_colon = true +resharper_space_after_keywords_in_control_flow_statements = true +resharper_space_after_last_attribute = false +resharper_space_after_operator_keyword = true +resharper_space_after_operator_not = false +resharper_space_after_ptr_in_data_member = true +resharper_space_after_ptr_in_data_members = false +resharper_space_after_ptr_in_method = true +resharper_space_after_ptr_in_nested_declarator = false +resharper_space_after_ref_in_data_member = true +resharper_space_after_ref_in_data_members = false +resharper_space_after_ref_in_method = true +resharper_space_after_semicolon_in_for_statement = true +resharper_space_after_ternary_colon = true +resharper_space_after_ternary_quest = true +resharper_space_after_triple_slash = true +resharper_space_after_type_parameter_constraint_colon = true +resharper_space_around_additive_op = true +resharper_space_around_alias_eq = true +resharper_space_around_arrow_op = true +resharper_space_around_assignment_op = true +resharper_space_around_assignment_operator = true +resharper_space_around_deref_in_trailing_return_type = true +resharper_space_around_dot = false +resharper_space_around_lambda_arrow = true +resharper_space_around_relational_op = true +resharper_space_around_shift_op = true +resharper_space_around_stmt_colon = true +resharper_space_around_ternary_operator = true +resharper_space_before_array_rank_parentheses = false +resharper_space_before_attribute_target_colon = false +resharper_space_before_checked_parentheses = false +resharper_space_before_colon = false +resharper_space_before_colon_in_bitfield_declarator = true +resharper_space_before_colon_in_case = false +resharper_space_before_colon_in_inheritance_clause = true +resharper_space_before_comma = false +resharper_space_before_default_parentheses = false +resharper_space_before_ellipsis_in_parameter_pack = false +resharper_space_before_empty_invocation_parentheses = false +resharper_space_before_empty_method_parentheses = false +resharper_space_before_for_colon = true +resharper_space_before_initializer_braces = false +resharper_space_before_invocation_parentheses = false +resharper_space_before_label_colon = false +resharper_space_before_lambda_parentheses = false +resharper_space_before_method_parentheses = false +resharper_space_before_nameof_parentheses = false +resharper_space_before_new_parentheses = false +resharper_space_before_nullable_mark = false +resharper_space_before_open_square_brackets = false +resharper_space_before_pointer_asterik_declaration = false +resharper_space_before_postfix_operator = false +resharper_space_before_ptr_in_abstract_decl = false +resharper_space_before_ptr_in_data_member = false +resharper_space_before_ptr_in_data_members = true +resharper_space_before_ptr_in_method = false +resharper_space_before_ref_in_abstract_decl = false +resharper_space_before_ref_in_data_member = false +resharper_space_before_ref_in_data_members = true +resharper_space_before_ref_in_method = false +resharper_space_before_semicolon = false +resharper_space_before_semicolon_in_for_statement = false +resharper_space_before_singleline_accessorholder = true +resharper_space_before_sizeof_parentheses = false +resharper_space_before_template_args = false +resharper_space_before_template_params = true +resharper_space_before_ternary_colon = true +resharper_space_before_ternary_quest = true +resharper_space_before_trailing_comment = true +resharper_space_before_typeof_parentheses = false +resharper_space_before_type_argument_angle = false +resharper_space_before_type_parameter_angle = false +resharper_space_before_type_parameter_constraint_colon = true +resharper_space_before_type_parameter_parentheses = true +resharper_space_between_accessors_in_singleline_property = true +resharper_space_between_attribute_sections = true +resharper_space_between_closing_angle_brackets_in_template_args = false +resharper_space_between_keyword_and_expression = true +resharper_space_between_keyword_and_type = true +resharper_space_between_method_call_empty_parameter_list_parentheses = false +resharper_space_between_method_call_name_and_opening_parenthesis = false +resharper_space_between_method_call_parameter_list_parentheses = false +resharper_space_between_method_declaration_empty_parameter_list_parentheses = false +resharper_space_between_method_declaration_name_and_open_parenthesis = false +resharper_space_between_method_declaration_parameter_list_parentheses = false +resharper_space_between_parentheses_of_control_flow_statements = false +resharper_space_between_square_brackets = false +resharper_space_between_typecast_parentheses = false +resharper_space_in_singleline_accessorholder = true +resharper_space_in_singleline_anonymous_method = true +resharper_space_in_singleline_method = true +resharper_space_near_postfix_and_prefix_op = false +resharper_space_within_array_initialization_braces = false +resharper_space_within_array_rank_empty_parentheses = false +resharper_space_within_array_rank_parentheses = false +resharper_space_within_attribute_angles = false +resharper_space_within_checked_parentheses = false +resharper_space_within_declaration_parentheses = false +resharper_space_within_default_parentheses = false +resharper_space_within_empty_blocks = false +resharper_space_within_empty_braces = true +resharper_space_within_empty_initializer_braces = false +resharper_space_within_empty_invocation_parentheses = false +resharper_space_within_empty_method_parentheses = false +resharper_space_within_empty_template_params = false +resharper_space_within_expression_parentheses = false +resharper_space_within_initializer_braces = false +resharper_space_within_invocation_parentheses = false +resharper_space_within_method_parentheses = false +resharper_space_within_nameof_parentheses = false +resharper_space_within_new_parentheses = false +resharper_space_within_single_line_array_initializer_braces = true +resharper_space_within_sizeof_parentheses = false +resharper_space_within_slice_pattern = true +resharper_space_within_template_args = false +resharper_space_within_template_params = false +resharper_space_within_tuple_parentheses = false +resharper_space_within_typeof_parentheses = false +resharper_space_within_type_argument_angles = false +resharper_space_within_type_parameter_angles = false +resharper_space_within_type_parameter_parentheses = false +resharper_special_else_if_treatment = true +resharper_static_members_qualify_members = none +resharper_static_members_qualify_with = declared_type +resharper_stick_comment = true +resharper_support_vs_event_naming_pattern = true +resharper_T4_insert_final_newline = false +resharper_T4_max_line_length = 160 +resharper_T4_wrap_lines = true +resharper_toplevel_function_declaration_return_type_style = do_not_change +resharper_toplevel_function_definition_return_type_style = do_not_change +resharper_trailing_comma_in_multiline_lists = true +resharper_trailing_comma_in_singleline_lists = true +resharper_use_continuous_indent_inside_initializer_braces = true +resharper_use_continuous_indent_inside_parens = true +resharper_use_continuous_line_indent_in_expression_braces = false +resharper_use_continuous_line_indent_in_method_pars = false +resharper_use_heuristics_for_body_style = true +resharper_use_indents_from_main_language_in_file = true +resharper_use_indent_from_previous_element = true +resharper_use_indent_from_vs = false +resharper_use_old_engine = false +resharper_use_roslyn_logic_for_evident_types = false +resharper_wrap_after_binary_opsign = true +resharper_wrap_after_dot = false +resharper_wrap_after_dot_in_method_calls = false +resharper_wrap_after_expression_lbrace = true +resharper_wrap_after_primary_constructor_declaration_lpar = true +resharper_wrap_after_property_in_chained_method_calls = false +resharper_wrap_around_elements = true +resharper_wrap_array_initializer_style = wrap_if_long +resharper_wrap_base_clause_style = wrap_if_long +resharper_wrap_before_arrow_with_expressions = false +resharper_wrap_before_binary_pattern_op = true +resharper_wrap_before_colon = false +resharper_wrap_before_comma = false +resharper_wrap_before_comma_in_base_clause = false +resharper_wrap_before_declaration_lpar = false +resharper_wrap_before_eq = false +resharper_wrap_before_expression_rbrace = true +resharper_wrap_before_extends_colon = false +resharper_wrap_before_first_method_call = true +resharper_wrap_before_invocation_lpar = false +resharper_wrap_before_linq_expression = true +resharper_wrap_before_primary_constructor_declaration_lpar = true +resharper_wrap_before_primary_constructor_declaration_rpar = false +resharper_wrap_before_ternary_opsigns = true +resharper_wrap_before_type_parameter_langle = false +resharper_wrap_braced_init_list_style = wrap_if_long +resharper_wrap_chained_binary_expressions = chop_if_long +resharper_wrap_chained_binary_patterns = chop_if_long +resharper_wrap_chained_method_calls = chop_if_long +resharper_wrap_ctor_initializer_style = wrap_if_long +resharper_wrap_enumeration_style = chop_if_long +resharper_wrap_enum_declaration = chop_always +resharper_wrap_extends_list_style = wrap_if_long +resharper_wrap_for_stmt_header_style = chop_if_long +resharper_wrap_list_pattern = wrap_if_long +resharper_wrap_multiple_declaration_style = chop_if_long +resharper_wrap_multiple_type_parameter_constraints_style = chop_if_long +resharper_wrap_primary_constructor_parameters_style = chop_if_long +resharper_wrap_property_pattern = chop_if_long +resharper_wrap_switch_expression = chop_if_long +resharper_wrap_ternary_expr_style = chop_if_long +resharper_wrap_verbatim_interpolated_strings = no_wrap +resharper_xmldoc_attribute_indent = single_indent +resharper_xmldoc_attribute_style = on_single_line +resharper_xmldoc_insert_final_newline = false +resharper_xmldoc_linebreak_before_elements = summary,remarks,example,returns,param,typeparam,value,para +resharper_xmldoc_max_blank_lines_between_tags = 0 +resharper_xmldoc_max_line_length = 160 +resharper_xmldoc_pi_attribute_style = on_single_line +resharper_xmldoc_space_after_last_pi_attribute = true +resharper_xmldoc_space_before_self_closing = true +resharper_xmldoc_wrap_lines = true +resharper_xmldoc_wrap_tags_and_pi = true +resharper_xmldoc_wrap_text = true +resharper_xml_attribute_indent = align_by_first_attribute +resharper_xml_attribute_style = do_not_touch +resharper_xml_insert_final_newline = false +resharper_xml_linebreak_before_elements = +resharper_xml_max_blank_lines_between_tags = 2 +resharper_xml_max_line_length = 160 +resharper_xml_pi_attribute_style = do_not_touch +resharper_xml_space_after_last_pi_attribute = false +resharper_xml_space_before_self_closing = true +resharper_xml_wrap_lines = true +resharper_xml_wrap_tags_and_pi = true +resharper_xml_wrap_text = false -[*.{appxmanifest,asax,ascx,aspx,axaml,build,cg,cginc,compute,dtd,fs,fsi,fsscript,fsx,hlsl,hlsli,hlslinc,master,ml,mli,nuspec,paml,resw,resx,shader,skin,usf,ush,vb,xaml,xamlx,xoml,xsd}] -indent_style = space -indent_size = 4 -tab_width = 4 +# ReSharper inspection severities +resharper_access_rights_in_text_highlighting = warning +resharper_access_to_disposed_closure_highlighting = warning +resharper_access_to_for_each_variable_in_closure_highlighting = warning +resharper_access_to_modified_closure_highlighting = warning +resharper_access_to_static_member_via_derived_type_highlighting = warning +resharper_address_of_marshal_by_ref_object_highlighting = warning +resharper_all_underscore_local_parameter_name_highlighting = warning +resharper_angular_html_banana_highlighting = warning +resharper_annotate_can_be_null_parameter_highlighting = warning +resharper_annotate_can_be_null_type_member_highlighting = warning +resharper_annotate_not_null_parameter_highlighting = none +resharper_annotate_not_null_type_member_highlighting = none +resharper_annotation_conflict_in_hierarchy_highlighting = warning +resharper_annotation_redundancy_at_value_type_highlighting = warning +resharper_annotation_redundancy_in_hierarchy_highlighting = warning +resharper_anonymous_object_destructuring_problem_highlighting = warning +resharper_arguments_style_anonymous_function_highlighting = suggestion +resharper_arguments_style_literal_highlighting = suggestion +resharper_arguments_style_named_expression_highlighting = suggestion +resharper_arguments_style_other_highlighting = suggestion +resharper_arguments_style_string_literal_highlighting = suggestion +resharper_arrange_accessor_owner_body_highlighting = suggestion +resharper_arrange_attributes_highlighting = none +resharper_arrange_constructor_or_destructor_body_highlighting = none +resharper_arrange_default_value_when_type_evident_highlighting = suggestion +resharper_arrange_default_value_when_type_not_evident_highlighting = hint +resharper_arrange_local_function_body_highlighting = none +resharper_arrange_method_or_operator_body_highlighting = none +resharper_arrange_missing_parentheses_highlighting = warning +resharper_arrange_namespace_body_highlighting = hint +resharper_arrange_null_checking_pattern_highlighting = suggestion +resharper_arrange_object_creation_when_type_evident_highlighting = suggestion +resharper_arrange_object_creation_when_type_not_evident_highlighting = hint +resharper_arrange_redundant_parentheses_highlighting = hint +resharper_arrange_static_member_qualifier_highlighting = hint +resharper_arrange_this_qualifier_highlighting = hint +resharper_arrange_trailing_comma_in_multiline_lists_highlighting = hint +resharper_arrange_trailing_comma_in_singleline_lists_highlighting = hint +resharper_arrange_var_keywords_in_deconstructing_declaration_highlighting = hint +resharper_asp_content_placeholder_not_resolved_highlighting = error +resharper_asp_custom_page_parser_filter_type_highlighting = warning +resharper_asp_dead_code_highlighting = warning +resharper_asp_entity_highlighting = warning +resharper_asp_image_highlighting = warning +resharper_asp_invalid_control_type_highlighting = error +resharper_asp_not_resolved_highlighting = error +resharper_asp_ods_method_reference_resolve_error_highlighting = error +resharper_asp_resolve_warning_highlighting = warning +resharper_asp_skin_not_resolved_highlighting = error +resharper_asp_tag_attribute_with_optional_value_highlighting = warning +resharper_asp_theme_not_resolved_highlighting = error +resharper_asp_unused_register_directive_highlighting_highlighting = warning +resharper_asp_warning_highlighting = warning +resharper_assignment_instead_of_discard_highlighting = warning +resharper_assignment_in_conditional_expression_highlighting = warning +resharper_assignment_is_fully_discarded_highlighting = warning +resharper_assign_null_to_not_null_attribute_highlighting = warning +resharper_asxx_path_error_highlighting = warning +resharper_async_iterator_invocation_without_await_foreach_highlighting = warning +resharper_async_validation_highlighting_highlighting = warning +resharper_async_void_lambda_highlighting = warning +resharper_async_void_method_highlighting = none +resharper_auto_property_can_be_made_get_only_global_highlighting = suggestion +resharper_auto_property_can_be_made_get_only_local_highlighting = suggestion +resharper_azure_function_app_timer_trigger_cron_expression_highlighting = error +resharper_bad_attribute_brackets_spaces_highlighting = none +resharper_bad_braces_spaces_highlighting = none +resharper_bad_child_statement_indent_highlighting = warning +resharper_bad_colon_spaces_highlighting = none +resharper_bad_comma_spaces_highlighting = none +resharper_bad_control_braces_indent_highlighting = suggestion +resharper_bad_control_braces_line_breaks_highlighting = none +resharper_bad_declaration_braces_indent_highlighting = none +resharper_bad_declaration_braces_line_breaks_highlighting = none +resharper_bad_empty_braces_line_breaks_highlighting = none +resharper_bad_expression_braces_indent_highlighting = none +resharper_bad_expression_braces_line_breaks_highlighting = none +resharper_bad_generic_brackets_spaces_highlighting = none +resharper_bad_indent_highlighting = none +resharper_bad_linq_line_breaks_highlighting = none +resharper_bad_list_line_breaks_highlighting = none +resharper_bad_member_access_spaces_highlighting = none +resharper_bad_namespace_braces_indent_highlighting = none +resharper_bad_parens_line_breaks_highlighting = none +resharper_bad_parens_spaces_highlighting = none +resharper_bad_preprocessor_indent_highlighting = none +resharper_bad_semicolon_spaces_highlighting = none +resharper_bad_spaces_after_keyword_highlighting = none +resharper_bad_square_brackets_spaces_highlighting = none +resharper_bad_switch_braces_indent_highlighting = none +resharper_bad_symbol_spaces_highlighting = none +resharper_base_member_has_params_highlighting = warning +resharper_base_method_call_with_default_parameter_highlighting = warning +resharper_base_object_equals_is_object_equals_highlighting = warning +resharper_base_object_get_hash_code_call_in_get_hash_code_highlighting = warning +resharper_bitwise_operator_on_enum_without_flags_highlighting = warning +resharper_blazor_editor_required_highlighting = warning +resharper_built_in_type_reference_style_for_member_access_highlighting = hint +resharper_built_in_type_reference_style_highlighting = hint +resharper_by_ref_argument_is_volatile_field_highlighting = warning +resharper_cannot_apply_equality_operator_to_type_highlighting = warning +resharper_can_simplify_dictionary_lookup_with_try_add_highlighting = suggestion +resharper_can_simplify_dictionary_lookup_with_try_get_value_highlighting = suggestion +resharper_can_simplify_dictionary_removing_with_single_call_highlighting = suggestion +resharper_can_simplify_dictionary_try_get_value_with_get_value_or_default_highlighting = suggestion +resharper_can_simplify_set_adding_with_single_call_highlighting = suggestion +resharper_center_tag_is_obsolete_highlighting = warning +resharper_check_for_reference_equality_instead_1_highlighting = suggestion +resharper_check_for_reference_equality_instead_2_highlighting = suggestion +resharper_check_for_reference_equality_instead_3_highlighting = suggestion +resharper_check_for_reference_equality_instead_4_highlighting = suggestion +resharper_check_namespace_highlighting = warning +resharper_class_cannot_be_instantiated_highlighting = warning +resharper_class_can_be_sealed_global_highlighting = none +resharper_class_can_be_sealed_local_highlighting = none +resharper_class_never_instantiated_global_highlighting = suggestion +resharper_class_never_instantiated_local_highlighting = suggestion +resharper_class_with_virtual_members_never_inherited_global_highlighting = suggestion +resharper_class_with_virtual_members_never_inherited_local_highlighting = suggestion +resharper_clear_attribute_is_obsolete_all_highlighting = warning +resharper_clear_attribute_is_obsolete_highlighting = warning +resharper_collection_never_queried_global_highlighting = warning +resharper_collection_never_queried_local_highlighting = warning +resharper_collection_never_updated_global_highlighting = warning +resharper_collection_never_updated_local_highlighting = warning +resharper_comment_typo_highlighting = suggestion +resharper_compare_non_constrained_generic_with_null_highlighting = none +resharper_compare_of_floats_by_equality_operator_highlighting = warning +resharper_complex_object_destructuring_problem_highlighting = warning +resharper_complex_object_in_context_destructuring_problem_highlighting = warning +resharper_conditional_access_qualifier_is_non_nullable_according_to_api_contract_highlighting = warning +resharper_conditional_ternary_equal_branch_highlighting = warning +resharper_condition_is_always_true_or_false_according_to_nullable_api_contract_highlighting = warning +resharper_condition_is_always_true_or_false_highlighting = warning +resharper_confusing_char_as_integer_in_constructor_highlighting = warning +resharper_constant_conditional_access_qualifier_highlighting = warning +resharper_constant_null_coalescing_condition_highlighting = warning +resharper_consteval_if_is_always_constant_highlighting = warning +resharper_constructor_initializer_loop_highlighting = warning +resharper_constructor_with_must_dispose_resource_attribute_base_is_not_annotated_highlighting = warning +resharper_container_annotation_redundancy_highlighting = warning +resharper_contextual_logger_problem_highlighting = warning +resharper_context_value_is_provided_highlighting = none +resharper_contract_annotation_not_parsed_highlighting = warning +resharper_convert_closure_to_method_group_highlighting = suggestion +resharper_convert_conditional_ternary_expression_to_switch_expression_highlighting = hint +resharper_convert_constructor_to_member_initializers_highlighting = suggestion +resharper_convert_if_do_to_while_highlighting = suggestion +resharper_convert_if_statement_to_conditional_ternary_expression_highlighting = suggestion +resharper_convert_if_statement_to_null_coalescing_assignment_highlighting = suggestion +resharper_convert_if_statement_to_null_coalescing_expression_highlighting = suggestion +resharper_convert_if_statement_to_return_statement_highlighting = hint +resharper_convert_if_statement_to_switch_statement_highlighting = hint +resharper_convert_if_to_or_expression_highlighting = suggestion +resharper_convert_nullable_to_short_form_highlighting = suggestion +resharper_convert_switch_statement_to_switch_expression_highlighting = hint +resharper_convert_to_auto_property_highlighting = suggestion +resharper_convert_to_auto_property_when_possible_highlighting = hint +resharper_convert_to_auto_property_with_private_setter_highlighting = hint +resharper_convert_to_compound_assignment_highlighting = hint +resharper_convert_to_constant_global_highlighting = hint +resharper_convert_to_constant_local_highlighting = hint +resharper_convert_to_lambda_expression_highlighting = suggestion +resharper_convert_to_local_function_highlighting = suggestion +resharper_convert_to_null_coalescing_compound_assignment_highlighting = suggestion +resharper_convert_to_primary_constructor_highlighting = suggestion +resharper_convert_to_static_class_highlighting = suggestion +resharper_convert_to_using_declaration_highlighting = suggestion +resharper_convert_type_check_pattern_to_null_check_highlighting = warning +resharper_convert_type_check_to_null_check_highlighting = warning +resharper_co_variant_array_conversion_highlighting = warning +resharper_default_value_attribute_for_optional_parameter_highlighting = warning +resharper_dispose_on_using_variable_highlighting = warning +resharper_double_negation_in_pattern_highlighting = suggestion +resharper_double_negation_operator_highlighting = suggestion +resharper_duplicate_resource_highlighting = warning +resharper_empty_constructor_highlighting = warning +resharper_empty_destructor_highlighting = warning +resharper_empty_embedded_statement_highlighting = warning +resharper_empty_for_statement_highlighting = warning +resharper_empty_general_catch_clause_highlighting = warning +resharper_empty_namespace_highlighting = warning +resharper_empty_region_highlighting = suggestion +resharper_empty_statement_highlighting = warning +resharper_empty_title_tag_highlighting = hint +resharper_enforce_do_while_statement_braces_highlighting = warning +resharper_enforce_fixed_statement_braces_highlighting = warning +resharper_enforce_foreach_statement_braces_highlighting = warning +resharper_enforce_for_statement_braces_highlighting = warning +resharper_enforce_if_statement_braces_highlighting = warning +resharper_enforce_lock_statement_braces_highlighting = warning +resharper_enforce_using_statement_braces_highlighting = warning +resharper_enforce_while_statement_braces_highlighting = warning +resharper_entity_framework_client_side_db_function_call_highlighting = warning +resharper_entity_framework_model_validation_circular_dependency_highlighting = warning +resharper_entity_framework_model_validation_unlimited_string_length_highlighting = warning +resharper_entity_framework_n_plus_one_incomplete_data_query_highlighting = suggestion +resharper_entity_framework_n_plus_one_incomplete_data_usage_highlighting = warning +resharper_entity_framework_n_plus_one_query_highlighting = suggestion +resharper_entity_framework_n_plus_one_usage_highlighting = warning +resharper_entity_framework_unsupported_server_side_function_call_highlighting = warning +resharper_entity_name_captured_only_global_highlighting = warning +resharper_entity_name_captured_only_local_highlighting = warning +resharper_enumerable_sum_in_explicit_unchecked_context_highlighting = warning +resharper_enum_underlying_type_is_int_highlighting = warning +resharper_equal_expression_comparison_highlighting = warning +resharper_escaped_keyword_highlighting = warning +resharper_event_never_invoked_global_highlighting = suggestion +resharper_event_never_subscribed_to_global_highlighting = suggestion +resharper_event_never_subscribed_to_local_highlighting = suggestion +resharper_event_unsubscription_via_anonymous_delegate_highlighting = warning +resharper_exception_passed_as_template_argument_problem_highlighting = warning +resharper_explicit_caller_info_argument_highlighting = warning +resharper_expression_is_always_null_highlighting = warning +resharper_extract_common_property_pattern_highlighting = hint +resharper_field_can_be_made_read_only_global_highlighting = suggestion +resharper_field_can_be_made_read_only_local_highlighting = suggestion +resharper_field_hides_interface_property_with_default_implementation_highlighting = warning +resharper_foreach_can_be_converted_to_query_using_another_get_enumerator_highlighting = hint +resharper_foreach_can_be_partly_converted_to_query_using_another_get_enumerator_highlighting = hint +resharper_format_string_placeholders_mismatch_highlighting = warning +resharper_format_string_problem_highlighting = warning +resharper_for_can_be_converted_to_foreach_highlighting = suggestion +resharper_for_statement_condition_is_true_highlighting = warning +resharper_function_complexity_overflow_highlighting = none +resharper_function_never_returns_highlighting = warning +resharper_function_recursive_on_all_paths_highlighting = warning +resharper_f_sharp_builtin_function_reimplementation_highlighting = hint +resharper_f_sharp_cons_with_empty_list_pat_highlighting = suggestion +resharper_f_sharp_expression_can_be_replaced_with_condition_highlighting = hint +resharper_f_sharp_interpolated_string_highlighting = suggestion +resharper_f_sharp_lambda_can_be_replaced_with_inner_expression_highlighting = hint +resharper_f_sharp_lambda_can_be_simplified_highlighting = hint +resharper_f_sharp_redundant_application_highlighting = warning +resharper_f_sharp_redundant_as_pattern_highlighting = warning +resharper_f_sharp_redundant_attribute_parens_highlighting = warning +resharper_f_sharp_redundant_attribute_suffix_highlighting = warning +resharper_f_sharp_redundant_backticks_highlighting = warning +resharper_f_sharp_redundant_dot_in_indexer_highlighting = warning +resharper_f_sharp_redundant_name_qualifier_highlighting = warning +resharper_f_sharp_redundant_new_highlighting = warning +resharper_f_sharp_redundant_open_highlighting = warning +resharper_f_sharp_redundant_parens_highlighting = warning +resharper_f_sharp_redundant_require_qualified_access_attribute_highlighting = warning +resharper_f_sharp_redundant_string_interpolation_highlighting = suggestion +resharper_f_sharp_redundant_union_case_field_patterns_highlighting = warning +resharper_f_sharp_use_wild_self_id_highlighting = suggestion +resharper_gc_suppress_finalize_for_type_without_destructor_highlighting = warning +resharper_heap_view_boxing_allocation_highlighting = hint +resharper_heap_view_can_avoid_closure_highlighting = suggestion +resharper_heap_view_closure_allocation_highlighting = hint +resharper_heap_view_delegate_allocation_highlighting = hint +resharper_heap_view_implicit_capture_highlighting = none +resharper_heap_view_object_allocation_evident_highlighting = hint +resharper_heap_view_object_allocation_highlighting = hint +resharper_heap_view_object_allocation_possible_highlighting = hint +resharper_heap_view_possible_boxing_allocation_highlighting = hint +resharper_heuristic_unreachable_code_highlighting = warning +resharper_html_attributes_quotes_highlighting = hint +resharper_html_attribute_not_resolved_highlighting = warning +resharper_html_attribute_value_not_resolved_highlighting = warning +resharper_html_dead_code_highlighting = warning +resharper_html_event_not_resolved_highlighting = warning +resharper_html_id_duplication_highlighting = warning +resharper_html_id_not_resolved_highlighting = warning +resharper_html_obsolete_highlighting = warning +resharper_html_path_error_highlighting = warning +resharper_html_tag_not_closed_highlighting = error +resharper_html_tag_not_resolved_highlighting = warning +resharper_html_tag_should_be_self_closed_highlighting = warning +resharper_html_tag_should_not_be_self_closed_highlighting = warning +resharper_html_warning_highlighting = warning +resharper_identifier_typo_highlighting = suggestion +resharper_if_std_is_constant_evaluated_can_be_replaced_highlighting = suggestion +resharper_ignored_directive_highlighting = warning +resharper_inactive_preprocessor_branch_highlighting = warning +resharper_inconsistently_synchronized_field_highlighting = warning +resharper_inconsistent_context_log_property_naming_highlighting = warning +resharper_inconsistent_log_property_naming_highlighting = warning +resharper_inconsistent_naming_highlighting = suggestion +resharper_inconsistent_order_of_locks_highlighting = warning +resharper_incorrect_blank_lines_near_braces_highlighting = none +resharper_indexing_by_invalid_range_highlighting = warning +resharper_inheritdoc_consider_usage_highlighting = none +resharper_inheritdoc_invalid_usage_highlighting = warning +resharper_inline_out_variable_declaration_highlighting = suggestion +resharper_inline_temporary_variable_highlighting = hint +resharper_internal_or_private_member_not_documented_highlighting = none +resharper_interpolated_string_expression_is_not_i_formattable_highlighting = warning +resharper_introduce_optional_parameters_global_highlighting = suggestion +resharper_introduce_optional_parameters_local_highlighting = suggestion +resharper_int_division_by_zero_highlighting = warning +resharper_int_variable_overflow_highlighting = warning +resharper_int_variable_overflow_in_checked_context_highlighting = warning +resharper_int_variable_overflow_in_unchecked_context_highlighting = warning +resharper_invalid_value_type_highlighting = warning +resharper_invalid_xml_doc_comment_highlighting = warning +resharper_invert_condition_1_highlighting = hint +resharper_invert_if_highlighting = hint +resharper_invocation_is_skipped_highlighting = hint +resharper_invoke_as_extension_method_highlighting = suggestion +resharper_in_parameter_with_must_dispose_resource_attribute_highlighting = warning +resharper_is_expression_always_false_highlighting = warning +resharper_is_expression_always_true_highlighting = warning +resharper_iterator_method_result_is_ignored_highlighting = warning +resharper_iterator_never_returns_highlighting = warning +resharper_join_declaration_and_initializer_highlighting = suggestion +resharper_join_null_check_with_usage_highlighting = suggestion +resharper_lambda_expression_can_be_made_static_highlighting = none +resharper_lambda_expression_must_be_static_highlighting = suggestion +resharper_lambda_should_not_capture_context_highlighting = warning +resharper_localizable_element_highlighting = warning +resharper_local_function_can_be_made_static_highlighting = none +resharper_local_function_hides_method_highlighting = warning +resharper_local_variable_hides_member_highlighting = warning +resharper_local_variable_hides_primary_constructor_parameter_highlighting = warning +resharper_log_message_is_sentence_problem_highlighting = warning +resharper_long_literal_ending_lower_l_highlighting = warning +resharper_loop_can_be_converted_to_query_highlighting = hint +resharper_loop_can_be_partly_converted_to_query_highlighting = none +resharper_loop_variable_is_never_changed_inside_loop_highlighting = warning +resharper_markup_attribute_typo_highlighting = suggestion +resharper_markup_text_typo_highlighting = suggestion +resharper_math_abs_method_is_redundant_highlighting = warning +resharper_math_clamp_min_greater_than_max_highlighting = warning +resharper_meaningless_default_parameter_value_highlighting = warning +resharper_member_can_be_file_local_highlighting = none +resharper_member_can_be_internal_highlighting = none +resharper_member_can_be_made_static_global_highlighting = hint +resharper_member_can_be_made_static_local_highlighting = hint +resharper_member_can_be_private_global_highlighting = suggestion +resharper_member_can_be_private_local_highlighting = suggestion +resharper_member_can_be_protected_global_highlighting = suggestion +resharper_member_can_be_protected_local_highlighting = suggestion +resharper_member_hides_interface_member_with_default_implementation_highlighting = warning +resharper_member_hides_static_from_outer_class_highlighting = warning +resharper_member_initializer_value_ignored_highlighting = warning +resharper_merge_and_pattern_highlighting = suggestion +resharper_merge_cast_with_type_check_highlighting = suggestion +resharper_merge_conditional_expression_highlighting = suggestion +resharper_merge_into_logical_pattern_highlighting = hint +resharper_merge_into_negated_pattern_highlighting = hint +resharper_merge_into_pattern_highlighting = suggestion +resharper_merge_nested_property_patterns_highlighting = suggestion +resharper_merge_sequential_checks_highlighting = hint +resharper_method_has_async_overload_highlighting = suggestion +resharper_method_has_async_overload_with_cancellation_highlighting = suggestion +resharper_method_overload_with_optional_parameter_highlighting = warning +resharper_method_supports_cancellation_highlighting = suggestion +resharper_missing_alt_attribute_in_img_tag_highlighting = hint +resharper_missing_blank_lines_highlighting = none +resharper_missing_body_tag_highlighting = warning +resharper_missing_head_and_body_tags_highlighting = warning +resharper_missing_head_tag_highlighting = warning +resharper_missing_indent_highlighting = none +resharper_missing_linebreak_highlighting = none +resharper_missing_space_highlighting = none +resharper_more_specific_foreach_variable_type_available_highlighting = suggestion +resharper_move_local_function_after_jump_statement_highlighting = hint +resharper_move_to_existing_positional_deconstruction_pattern_highlighting = hint +resharper_move_variable_declaration_inside_loop_condition_highlighting = suggestion +resharper_multiple_nullable_attributes_usage_highlighting = warning +resharper_multiple_order_by_highlighting = warning +resharper_multiple_resolve_candidates_in_text_highlighting = warning +resharper_multiple_spaces_highlighting = none +resharper_multiple_statements_on_one_line_highlighting = none +resharper_multiple_type_members_on_one_line_highlighting = none +resharper_must_use_return_value_highlighting = warning +resharper_mvc_action_not_resolved_highlighting = error +resharper_mvc_area_not_resolved_highlighting = error +resharper_mvc_controller_not_resolved_highlighting = error +resharper_mvc_invalid_model_type_highlighting = error +resharper_mvc_masterpage_not_resolved_highlighting = error +resharper_mvc_partial_view_not_resolved_highlighting = error +resharper_mvc_template_not_resolved_highlighting = error +resharper_mvc_view_component_not_resolved_highlighting = error +resharper_mvc_view_component_view_not_resolved_highlighting = error +resharper_mvc_view_not_resolved_highlighting = error +resharper_negation_of_relational_pattern_highlighting = suggestion +resharper_negative_equality_expression_highlighting = suggestion +resharper_negative_index_highlighting = warning +resharper_nested_string_interpolation_highlighting = suggestion +resharper_non_async_validation_highlighting_highlighting = warning +resharper_non_atomic_compound_operator_highlighting = warning +resharper_non_constant_equality_expression_has_constant_result_highlighting = warning +resharper_non_parsable_element_highlighting = warning +resharper_non_readonly_member_in_get_hash_code_highlighting = warning +resharper_non_volatile_field_in_double_check_locking_highlighting = warning +resharper_not_accessed_field_global_highlighting = suggestion +resharper_not_accessed_field_local_highlighting = warning +resharper_not_accessed_out_parameter_variable_highlighting = warning +resharper_not_accessed_positional_property_global_highlighting = warning +resharper_not_accessed_positional_property_local_highlighting = warning +resharper_not_accessed_variable_highlighting = warning +resharper_not_assigned_out_parameter_highlighting = warning +resharper_not_declared_in_parent_culture_highlighting = warning +resharper_not_disposed_resource_highlighting = warning +resharper_not_disposed_resource_is_returned_by_property_highlighting = warning +resharper_not_disposed_resource_is_returned_highlighting = warning +resharper_not_null_or_required_member_is_not_initialized_highlighting = warning +resharper_not_observable_annotation_redundancy_highlighting = warning +resharper_not_overridden_in_specific_culture_highlighting = warning +resharper_not_resolved_in_text_highlighting = warning +resharper_nullable_warning_suppression_is_used_highlighting = warning +resharper_nullness_annotation_conflict_with_jet_brains_annotations_highlighting = warning +resharper_null_coalescing_condition_is_always_not_null_according_to_api_contract_highlighting = warning +resharper_n_unit_assert_migration_highlighting = warning +resharper_n_unit_async_method_must_be_task_highlighting = warning +resharper_n_unit_attribute_produces_too_many_tests_highlighting = none +resharper_n_unit_auto_fixture_incorrect_argument_type_highlighting = warning +resharper_n_unit_auto_fixture_missed_test_attribute_highlighting = warning +resharper_n_unit_auto_fixture_missed_test_or_test_fixture_attribute_highlighting = warning +resharper_n_unit_auto_fixture_redundant_argument_in_inline_auto_data_attribute_highlighting = warning +resharper_n_unit_duplicate_values_highlighting = warning +resharper_n_unit_ignored_parameter_attribute_highlighting = warning +resharper_n_unit_implicit_unspecified_null_values_highlighting = warning +resharper_n_unit_incorrect_argument_type_highlighting = warning +resharper_n_unit_incorrect_expected_result_type_highlighting = warning +resharper_n_unit_incorrect_range_bounds_highlighting = warning +resharper_n_unit_method_with_parameters_and_test_attribute_highlighting = warning +resharper_n_unit_missing_arguments_in_test_case_attribute_highlighting = warning +resharper_n_unit_non_public_method_with_test_attribute_highlighting = warning +resharper_n_unit_no_values_provided_highlighting = warning +resharper_n_unit_parameter_type_is_not_compatible_with_attribute_highlighting = warning +resharper_n_unit_range_attribute_bounds_are_out_of_range_highlighting = warning +resharper_n_unit_range_step_sign_mismatch_highlighting = warning +resharper_n_unit_range_step_value_must_not_be_zero_highlighting = warning +resharper_n_unit_range_to_value_is_not_reachable_highlighting = warning +resharper_n_unit_redundant_argument_instead_of_expected_result_highlighting = warning +resharper_n_unit_redundant_argument_in_test_case_attribute_highlighting = warning +resharper_n_unit_redundant_expected_result_in_test_case_attribute_highlighting = warning +resharper_n_unit_test_case_attribute_requires_expected_result_highlighting = warning +resharper_n_unit_test_case_result_property_duplicates_expected_result_highlighting = warning +resharper_n_unit_test_case_result_property_is_obsolete_highlighting = warning +resharper_n_unit_test_case_source_cannot_be_resolved_highlighting = warning +resharper_n_unit_test_case_source_must_be_field_property_method_highlighting = warning +resharper_n_unit_test_case_source_must_be_static_highlighting = warning +resharper_n_unit_test_case_source_should_implement_i_enumerable_highlighting = warning +resharper_object_creation_as_statement_highlighting = warning +resharper_obsolete_element_error_highlighting = error +resharper_obsolete_element_highlighting = warning +resharper_one_way_operation_contract_with_return_type_highlighting = warning +resharper_operation_contract_without_service_contract_highlighting = warning +resharper_operator_is_can_be_used_highlighting = warning +resharper_operator_without_matched_checked_operator_highlighting = warning +resharper_optional_parameter_hierarchy_mismatch_highlighting = warning +resharper_optional_parameter_ref_out_highlighting = warning +resharper_other_tags_inside_script1_highlighting = error +resharper_other_tags_inside_script2_highlighting = error +resharper_other_tags_inside_unclosed_script_highlighting = error +resharper_outdent_is_off_prev_level_highlighting = none +resharper_out_parameter_value_is_always_discarded_global_highlighting = suggestion +resharper_out_parameter_value_is_always_discarded_local_highlighting = warning +resharper_overridden_with_empty_value_highlighting = warning +resharper_overridden_with_same_value_highlighting = suggestion +resharper_parameter_hides_member_highlighting = warning +resharper_parameter_hides_primary_constructor_parameter_highlighting = warning +resharper_parameter_only_used_for_precondition_check_global_highlighting = suggestion +resharper_parameter_only_used_for_precondition_check_local_highlighting = warning +resharper_parameter_type_can_be_enumerable_global_highlighting = hint +resharper_parameter_type_can_be_enumerable_local_highlighting = hint +resharper_partial_method_parameter_name_mismatch_highlighting = warning +resharper_partial_method_with_single_part_highlighting = warning +resharper_partial_type_with_single_part_highlighting = none +resharper_pass_string_interpolation_highlighting = hint +resharper_pattern_always_matches_highlighting = warning +resharper_pattern_is_always_true_or_false_highlighting = warning +resharper_pattern_is_redundant_highlighting = warning +resharper_pattern_never_matches_highlighting = warning +resharper_place_assignment_expression_into_block_highlighting = none +resharper_polymorphic_field_like_event_invocation_highlighting = warning +resharper_positional_property_used_problem_highlighting = warning +resharper_possible_infinite_inheritance_highlighting = warning +resharper_possible_intended_rethrow_highlighting = warning +resharper_possible_interface_member_ambiguity_highlighting = warning +resharper_possible_invalid_cast_exception_highlighting = warning +resharper_possible_invalid_cast_exception_in_foreach_loop_highlighting = warning +resharper_possible_invalid_operation_exception_highlighting = warning +resharper_possible_loss_of_fraction_highlighting = warning +resharper_possible_mistaken_argument_highlighting = warning +resharper_possible_mistaken_call_to_get_type_1_highlighting = warning +resharper_possible_mistaken_call_to_get_type_2_highlighting = warning +resharper_possible_multiple_enumeration_highlighting = warning +resharper_possible_multiple_write_access_in_double_check_locking_highlighting = warning +resharper_possible_null_reference_exception_highlighting = warning +resharper_possible_struct_member_modification_of_non_variable_struct_highlighting = warning +resharper_possible_unintended_linear_search_in_set_highlighting = warning +resharper_possible_unintended_queryable_as_enumerable_highlighting = suggestion +resharper_possible_unintended_reference_comparison_highlighting = warning +resharper_possible_write_to_me_highlighting = warning +resharper_possibly_impure_method_call_on_readonly_variable_highlighting = warning +resharper_possibly_missing_indexer_initializer_comma_highlighting = warning +resharper_possibly_mistaken_use_of_interpolated_string_insert_highlighting = warning +resharper_possibly_unintended_usage_parameterless_get_expression_type_highlighting = error +resharper_private_field_can_be_converted_to_local_variable_highlighting = warning +resharper_property_can_be_made_init_only_global_highlighting = suggestion +resharper_property_can_be_made_init_only_local_highlighting = suggestion +resharper_property_field_keyword_is_never_assigned_highlighting = warning +resharper_property_field_keyword_is_never_used_highlighting = warning +resharper_property_not_resolved_highlighting = error +resharper_public_constructor_in_abstract_class_highlighting = suggestion +resharper_pure_attribute_on_void_method_highlighting = warning +resharper_raw_string_can_be_simplified_highlighting = hint +resharper_razor_layout_not_resolved_highlighting = error +resharper_razor_section_not_resolved_highlighting = error +resharper_read_access_in_double_check_locking_highlighting = warning +resharper_redundant_abstract_modifier_highlighting = warning +resharper_redundant_accessor_body_highlighting = suggestion +resharper_redundant_always_match_subpattern_highlighting = suggestion +resharper_redundant_anonymous_type_property_name_highlighting = warning +resharper_redundant_argument_default_value_highlighting = warning +resharper_redundant_array_creation_expression_highlighting = hint +resharper_redundant_array_lower_bound_specification_highlighting = warning +resharper_redundant_assignment_highlighting = warning +resharper_redundant_attribute_parentheses_highlighting = hint +resharper_redundant_attribute_suffix_highlighting = warning +resharper_redundant_attribute_usage_property_highlighting = suggestion +resharper_redundant_base_constructor_call_highlighting = warning +resharper_redundant_base_qualifier_highlighting = warning +resharper_redundant_blank_lines_highlighting = none +resharper_redundant_bool_compare_highlighting = warning +resharper_redundant_caller_argument_expression_default_value_highlighting = warning +resharper_redundant_case_label_highlighting = warning +resharper_redundant_cast_highlighting = warning +resharper_redundant_catch_clause_highlighting = warning +resharper_redundant_check_before_assignment_highlighting = warning +resharper_redundant_collection_initializer_element_braces_highlighting = hint +resharper_redundant_configure_await_highlighting = suggestion +resharper_redundant_declaration_semicolon_highlighting = hint +resharper_redundant_default_member_initializer_highlighting = hint +resharper_redundant_delegate_creation_highlighting = warning +resharper_redundant_dictionary_contains_key_before_adding_highlighting = warning +resharper_redundant_disable_warning_comment_highlighting = warning +resharper_redundant_discard_designation_highlighting = suggestion +resharper_redundant_empty_case_else_highlighting = warning +resharper_redundant_empty_finally_block_highlighting = warning +resharper_redundant_empty_object_creation_argument_list_highlighting = hint +resharper_redundant_empty_object_or_collection_initializer_highlighting = warning +resharper_redundant_empty_switch_section_highlighting = warning +resharper_redundant_enumerable_cast_call_highlighting = warning +resharper_redundant_enum_case_label_for_default_section_highlighting = none +resharper_redundant_explicit_array_creation_highlighting = warning +resharper_redundant_explicit_array_size_highlighting = warning +resharper_redundant_explicit_nullable_creation_highlighting = warning +resharper_redundant_explicit_params_array_creation_highlighting = suggestion +resharper_redundant_explicit_positional_property_declaration_highlighting = warning +resharper_redundant_explicit_tuple_component_name_highlighting = warning +resharper_redundant_extends_list_entry_highlighting = warning +resharper_redundant_fixed_pointer_declaration_highlighting = suggestion +resharper_redundant_if_else_block_highlighting = hint +resharper_redundant_if_statement_then_keyword_highlighting = none +resharper_redundant_immediate_delegate_invocation_highlighting = suggestion +resharper_redundant_include_highlighting = warning +resharper_redundant_is_before_relational_pattern_highlighting = suggestion +resharper_redundant_iterator_keyword_highlighting = warning +resharper_redundant_jump_statement_highlighting = warning +resharper_redundant_lambda_parameter_type_highlighting = warning +resharper_redundant_lambda_signature_parentheses_highlighting = hint +resharper_redundant_linebreak_highlighting = none +resharper_redundant_logical_conditional_expression_operand_highlighting = warning +resharper_redundant_me_qualifier_highlighting = warning +resharper_redundant_my_base_qualifier_highlighting = warning +resharper_redundant_my_class_qualifier_highlighting = warning +resharper_redundant_name_qualifier_highlighting = warning +resharper_redundant_not_null_constraint_highlighting = warning +resharper_redundant_nullable_annotation_on_reference_type_constraint_highlighting = warning +resharper_redundant_nullable_annotation_on_type_constraint_has_non_nullable_base_type_highlighting = warning +resharper_redundant_nullable_annotation_on_type_constraint_has_non_nullable_type_kind_highlighting = warning +resharper_redundant_nullable_directive_highlighting = warning +resharper_redundant_nullable_flow_attribute_highlighting = none +resharper_redundant_nullable_type_mark_highlighting = warning +resharper_redundant_nullness_attribute_with_nullable_reference_types_highlighting = warning +resharper_redundant_overflow_checking_context_highlighting = warning +resharper_redundant_overload_global_highlighting = suggestion +resharper_redundant_overload_local_highlighting = suggestion +resharper_redundant_overridden_member_highlighting = warning +resharper_redundant_params_highlighting = warning +resharper_redundant_parentheses_highlighting = none +resharper_redundant_pattern_parentheses_highlighting = hint +resharper_redundant_property_parentheses_highlighting = hint +resharper_redundant_property_pattern_clause_highlighting = suggestion +resharper_redundant_qualifier_highlighting = warning +resharper_redundant_query_order_by_ascending_keyword_highlighting = hint +resharper_redundant_range_bound_highlighting = suggestion +resharper_redundant_readonly_modifier_highlighting = suggestion +resharper_redundant_record_class_keyword_highlighting = warning +resharper_redundant_scoped_parameter_modifier_highlighting = warning +resharper_redundant_setter_value_parameter_declaration_highlighting = hint +resharper_redundant_space_highlighting = none +resharper_redundant_string_format_call_highlighting = warning +resharper_redundant_string_interpolation_highlighting = suggestion +resharper_redundant_string_to_char_array_call_highlighting = warning +resharper_redundant_string_type_highlighting = suggestion +resharper_redundant_suppress_nullable_warning_expression_highlighting = warning +resharper_redundant_ternary_expression_highlighting = warning +resharper_redundant_to_string_call_for_value_type_highlighting = hint +resharper_redundant_to_string_call_highlighting = warning +resharper_redundant_type_arguments_of_method_highlighting = warning +resharper_redundant_type_check_in_pattern_highlighting = warning +resharper_redundant_type_declaration_body_highlighting = warning +resharper_redundant_unsafe_context_highlighting = warning +resharper_redundant_using_directive_global_highlighting = warning +resharper_redundant_using_directive_highlighting = warning +resharper_redundant_verbatim_prefix_highlighting = suggestion +resharper_redundant_verbatim_string_prefix_highlighting = suggestion +resharper_redundant_virtual_modifier_highlighting = warning +resharper_redundant_with_cancellation_highlighting = warning +resharper_redundant_with_expression_highlighting = suggestion +resharper_reference_equals_with_value_type_highlighting = warning +resharper_reg_exp_inspections_highlighting = warning +resharper_remove_constructor_invocation_highlighting = none +resharper_remove_redundant_braces_highlighting = warning +resharper_remove_redundant_or_statement_false_highlighting = suggestion +resharper_remove_redundant_or_statement_true_highlighting = suggestion +resharper_remove_to_list_1_highlighting = suggestion +resharper_remove_to_list_2_highlighting = suggestion +resharper_replace_async_with_task_return_highlighting = suggestion +resharper_replace_auto_property_with_computed_property_highlighting = hint +resharper_replace_conditional_expression_with_null_coalescing_highlighting = suggestion +resharper_replace_object_pattern_with_var_pattern_highlighting = suggestion +resharper_replace_sequence_equal_with_constant_pattern_highlighting = suggestion +resharper_replace_slice_with_range_indexer_highlighting = hint +resharper_replace_substring_with_range_indexer_highlighting = hint +resharper_replace_with_field_keyword_highlighting = suggestion +resharper_replace_with_first_or_default_1_highlighting = suggestion +resharper_replace_with_first_or_default_2_highlighting = suggestion +resharper_replace_with_first_or_default_3_highlighting = suggestion +resharper_replace_with_first_or_default_4_highlighting = suggestion +resharper_replace_with_last_or_default_1_highlighting = suggestion +resharper_replace_with_last_or_default_2_highlighting = suggestion +resharper_replace_with_last_or_default_3_highlighting = suggestion +resharper_replace_with_last_or_default_4_highlighting = suggestion +resharper_replace_with_of_type_1_highlighting = suggestion +resharper_replace_with_of_type_2_highlighting = suggestion +resharper_replace_with_of_type_3_highlighting = suggestion +resharper_replace_with_of_type_any_1_highlighting = suggestion +resharper_replace_with_of_type_any_2_highlighting = suggestion +resharper_replace_with_of_type_count_1_highlighting = suggestion +resharper_replace_with_of_type_count_2_highlighting = suggestion +resharper_replace_with_of_type_first_1_highlighting = suggestion +resharper_replace_with_of_type_first_2_highlighting = suggestion +resharper_replace_with_of_type_first_or_default_1_highlighting = suggestion +resharper_replace_with_of_type_first_or_default_2_highlighting = suggestion +resharper_replace_with_of_type_last_1_highlighting = suggestion +resharper_replace_with_of_type_last_2_highlighting = suggestion +resharper_replace_with_of_type_last_or_default_1_highlighting = suggestion +resharper_replace_with_of_type_last_or_default_2_highlighting = suggestion +resharper_replace_with_of_type_long_count_highlighting = suggestion +resharper_replace_with_of_type_single_1_highlighting = suggestion +resharper_replace_with_of_type_single_2_highlighting = suggestion +resharper_replace_with_of_type_single_or_default_1_highlighting = suggestion +resharper_replace_with_of_type_single_or_default_2_highlighting = suggestion +resharper_replace_with_of_type_where_highlighting = suggestion +resharper_replace_with_primary_constructor_parameter_highlighting = suggestion +resharper_replace_with_simple_assignment_false_highlighting = suggestion +resharper_replace_with_simple_assignment_true_highlighting = suggestion +resharper_replace_with_single_assignment_false_highlighting = suggestion +resharper_replace_with_single_assignment_true_highlighting = suggestion +resharper_replace_with_single_call_to_any_highlighting = suggestion +resharper_replace_with_single_call_to_count_highlighting = suggestion +resharper_replace_with_single_call_to_first_highlighting = suggestion +resharper_replace_with_single_call_to_first_or_default_highlighting = suggestion +resharper_replace_with_single_call_to_last_highlighting = suggestion +resharper_replace_with_single_call_to_last_or_default_highlighting = suggestion +resharper_replace_with_single_call_to_single_highlighting = suggestion +resharper_replace_with_single_call_to_single_or_default_highlighting = suggestion +resharper_replace_with_single_or_default_1_highlighting = suggestion +resharper_replace_with_single_or_default_2_highlighting = suggestion +resharper_replace_with_single_or_default_3_highlighting = suggestion +resharper_replace_with_single_or_default_4_highlighting = suggestion +resharper_replace_with_string_is_null_or_empty_highlighting = suggestion +resharper_required_base_types_conflict_highlighting = warning +resharper_required_base_types_direct_conflict_highlighting = warning +resharper_required_base_types_is_not_inherited_highlighting = warning +resharper_resource_item_not_resolved_highlighting = error +resharper_resource_not_resolved_highlighting = error +resharper_resx_not_resolved_highlighting = warning +resharper_return_of_task_produced_by_using_variable_highlighting = warning +resharper_return_of_using_variable_highlighting = warning +resharper_return_type_can_be_enumerable_global_highlighting = hint +resharper_return_type_can_be_enumerable_local_highlighting = hint +resharper_return_type_can_be_not_nullable_highlighting = warning +resharper_return_value_of_pure_method_is_not_used_highlighting = warning +resharper_route_templates_action_route_prefix_can_be_extracted_to_controller_route_highlighting = hint +resharper_route_templates_ambiguous_matching_constraint_constructor_highlighting = warning +resharper_route_templates_constraint_argument_cannot_be_converted_highlighting = warning +resharper_route_templates_controller_route_parameter_is_not_passed_to_methods_highlighting = hint +resharper_route_templates_duplicated_parameter_highlighting = warning +resharper_route_templates_matching_constraint_constructor_not_resolved_highlighting = warning +resharper_route_templates_method_missing_route_parameters_highlighting = hint +resharper_route_templates_optional_parameter_can_be_preceded_only_by_single_period_highlighting = warning +resharper_route_templates_optional_parameter_must_be_at_the_end_of_segment_highlighting = warning +resharper_route_templates_parameter_constraint_can_be_specified_highlighting = hint +resharper_route_templates_parameter_type_and_constraints_mismatch_highlighting = warning +resharper_route_templates_parameter_type_can_be_made_stricter_highlighting = suggestion +resharper_route_templates_route_parameter_constraint_not_resolved_highlighting = warning +resharper_route_templates_route_parameter_is_not_passed_to_method_highlighting = hint +resharper_route_templates_route_token_not_resolved_highlighting = warning +resharper_route_templates_symbol_not_resolved_highlighting = warning +resharper_route_templates_syntax_error_highlighting = warning +resharper_safe_cast_is_used_as_type_check_highlighting = suggestion +resharper_script_tag_has_both_src_and_content_attributes_highlighting = error +resharper_sealed_member_in_sealed_class_highlighting = warning +resharper_separate_control_transfer_statement_highlighting = none +resharper_separate_local_functions_with_jump_statement_highlighting = hint +resharper_service_contract_without_operations_highlighting = warning +resharper_shift_expression_real_shift_count_is_zero_highlighting = warning +resharper_shift_expression_result_equals_zero_highlighting = warning +resharper_shift_expression_right_operand_not_equal_real_count_highlighting = warning +resharper_shift_expression_zero_left_operand_highlighting = warning +resharper_similar_anonymous_type_nearby_highlighting = hint +resharper_simplify_conditional_operator_highlighting = suggestion +resharper_simplify_conditional_ternary_expression_highlighting = suggestion +resharper_simplify_i_if_highlighting = suggestion +resharper_simplify_linq_expression_use_all_highlighting = suggestion +resharper_simplify_linq_expression_use_any_highlighting = suggestion +resharper_simplify_linq_expression_use_min_by_and_max_by_highlighting = suggestion +resharper_simplify_string_interpolation_highlighting = suggestion +resharper_specify_a_culture_in_string_conversion_explicitly_highlighting = warning +resharper_specify_string_comparison_highlighting = hint +resharper_spin_lock_in_readonly_field_highlighting = warning +resharper_stack_alloc_inside_loop_highlighting = warning +resharper_static_member_initializer_referes_to_member_below_highlighting = warning +resharper_static_member_in_generic_type_highlighting = warning +resharper_static_problem_in_text_highlighting = warning +resharper_std_is_constant_evaluated_will_always_evaluate_to_constant_highlighting = warning +resharper_string_compare_is_culture_specific_1_highlighting = warning +resharper_string_compare_is_culture_specific_2_highlighting = warning +resharper_string_compare_is_culture_specific_3_highlighting = warning +resharper_string_compare_is_culture_specific_4_highlighting = warning +resharper_string_compare_is_culture_specific_5_highlighting = warning +resharper_string_compare_is_culture_specific_6_highlighting = warning +resharper_string_compare_to_is_culture_specific_highlighting = warning +resharper_string_ends_with_is_culture_specific_highlighting = none +resharper_string_index_of_is_culture_specific_1_highlighting = warning +resharper_string_index_of_is_culture_specific_2_highlighting = warning +resharper_string_index_of_is_culture_specific_3_highlighting = warning +resharper_string_last_index_of_is_culture_specific_1_highlighting = warning +resharper_string_last_index_of_is_culture_specific_2_highlighting = warning +resharper_string_last_index_of_is_culture_specific_3_highlighting = warning +resharper_string_literal_as_interpolation_argument_highlighting = suggestion +resharper_string_literal_typo_highlighting = suggestion +resharper_string_starts_with_is_culture_specific_highlighting = none +resharper_structured_message_template_problem_highlighting = warning +resharper_struct_can_be_made_read_only_highlighting = suggestion +resharper_struct_member_can_be_made_read_only_highlighting = none +resharper_suggest_base_type_for_parameter_highlighting = hint +resharper_suggest_base_type_for_parameter_in_constructor_highlighting = hint +resharper_suggest_discard_declaration_var_style_highlighting = hint +resharper_suggest_var_or_type_built_in_types_highlighting = hint +resharper_suggest_var_or_type_deconstruction_declarations_highlighting = hint +resharper_suggest_var_or_type_elsewhere_highlighting = hint +resharper_suggest_var_or_type_simple_types_highlighting = hint +resharper_suppress_nullable_warning_expression_as_inverted_is_expression_highlighting = warning +resharper_suspicious_lock_over_synchronization_primitive_highlighting = warning +resharper_suspicious_math_sign_method_highlighting = warning +resharper_suspicious_parameter_name_in_argument_null_exception_highlighting = warning +resharper_suspicious_type_conversion_global_highlighting = warning +resharper_swap_via_deconstruction_highlighting = suggestion +resharper_switch_expression_handles_some_known_enum_values_with_exception_in_default_highlighting = hint +resharper_switch_statement_for_enum_misses_default_section_highlighting = hint +resharper_switch_statement_handles_some_known_enum_values_with_default_highlighting = hint +resharper_switch_statement_missing_some_enum_cases_no_default_highlighting = hint +resharper_symbol_from_not_copied_locally_reference_used_warning_highlighting = warning +resharper_tabs_and_spaces_mismatch_highlighting = none +resharper_tabs_are_disallowed_highlighting = none +resharper_tabs_outside_indent_highlighting = none +resharper_tail_recursive_call_highlighting = hint +resharper_template_duplicate_property_problem_highlighting = warning +resharper_template_format_string_problem_highlighting = warning +resharper_template_is_not_compile_time_constant_problem_highlighting = warning +resharper_thread_static_at_instance_field_highlighting = warning +resharper_thread_static_field_has_initializer_highlighting = warning +resharper_too_wide_local_variable_scope_highlighting = suggestion +resharper_try_cast_always_succeeds_highlighting = suggestion +resharper_try_statements_can_be_merged_highlighting = hint +resharper_type_parameter_can_be_variant_highlighting = suggestion +resharper_unassigned_field_global_highlighting = suggestion +resharper_unassigned_field_local_highlighting = warning +resharper_unassigned_get_only_auto_property_highlighting = warning +resharper_unassigned_readonly_field_highlighting = warning +resharper_unclosed_script_highlighting = error +resharper_unexpected_attribute_highlighting = warning +resharper_unexpected_directive_highlighting = warning +resharper_unnecessary_whitespace_highlighting = warning +resharper_unreachable_switch_arm_due_to_integer_analysis_highlighting = warning +resharper_unreachable_switch_case_due_to_integer_analysis_highlighting = warning +resharper_unreal_header_tool_error_highlighting = error +resharper_unreal_header_tool_warning_highlighting = warning +resharper_unsupported_required_base_type_highlighting = warning +resharper_unused_anonymous_method_signature_highlighting = warning +resharper_unused_auto_property_accessor_global_highlighting = warning +resharper_unused_auto_property_accessor_local_highlighting = warning +resharper_unused_import_clause_highlighting = warning +resharper_unused_local_function_highlighting = warning +resharper_unused_local_function_parameter_highlighting = warning +resharper_unused_local_function_return_value_highlighting = warning +resharper_unused_member_global_highlighting = suggestion +resharper_unused_member_hierarchy_global_highlighting = suggestion +resharper_unused_member_hierarchy_local_highlighting = warning +resharper_unused_member_in_super_global_highlighting = suggestion +resharper_unused_member_in_super_local_highlighting = warning +resharper_unused_member_local_highlighting = warning +resharper_unused_method_return_value_global_highlighting = suggestion +resharper_unused_method_return_value_local_highlighting = warning +resharper_unused_nullable_directive_highlighting = warning +resharper_unused_parameter_global_highlighting = suggestion +resharper_unused_parameter_in_partial_method_highlighting = warning +resharper_unused_parameter_local_highlighting = warning +resharper_unused_tuple_component_in_return_value_highlighting = warning +resharper_unused_type_global_highlighting = suggestion +resharper_unused_type_local_highlighting = warning +resharper_unused_type_parameter_highlighting = warning +resharper_unused_variable_highlighting = warning +resharper_useless_binary_operation_highlighting = warning +resharper_useless_comparison_to_integral_constant_highlighting = warning +resharper_use_array_creation_expression_1_highlighting = suggestion +resharper_use_array_creation_expression_2_highlighting = suggestion +resharper_use_array_empty_method_highlighting = suggestion +resharper_use_await_using_highlighting = suggestion +resharper_use_cancellation_token_for_i_async_enumerable_highlighting = suggestion +resharper_use_collection_count_property_highlighting = suggestion +resharper_use_collection_expression_highlighting = suggestion +resharper_use_configure_await_false_for_async_disposable_highlighting = none +resharper_use_configure_await_false_highlighting = suggestion +resharper_use_deconstruction_highlighting = hint +resharper_use_discard_assignment_highlighting = suggestion +resharper_use_empty_types_field_highlighting = suggestion +resharper_use_event_args_empty_field_highlighting = suggestion +resharper_use_format_specifier_in_format_string_highlighting = suggestion +resharper_use_implicitly_typed_variable_evident_highlighting = hint +resharper_use_implicitly_typed_variable_highlighting = none +resharper_use_implicit_by_val_modifier_highlighting = hint +resharper_use_indexed_property_highlighting = suggestion +resharper_use_index_from_end_expression_highlighting = suggestion +resharper_use_is_operator_1_highlighting = suggestion +resharper_use_is_operator_2_highlighting = suggestion +resharper_use_method_any_0_highlighting = suggestion +resharper_use_method_any_1_highlighting = suggestion +resharper_use_method_any_2_highlighting = suggestion +resharper_use_method_any_3_highlighting = suggestion +resharper_use_method_any_4_highlighting = suggestion +resharper_use_method_is_instance_of_type_highlighting = suggestion +resharper_use_nameof_expression_for_part_of_the_string_highlighting = none +resharper_use_nameof_expression_highlighting = suggestion +resharper_use_nameof_for_dependency_property_highlighting = suggestion +resharper_use_name_of_instead_of_type_of_highlighting = suggestion +resharper_use_negated_pattern_in_is_expression_highlighting = hint +resharper_use_negated_pattern_matching_highlighting = hint +resharper_use_nullable_annotation_instead_of_attribute_highlighting = suggestion +resharper_use_nullable_attributes_supported_by_compiler_highlighting = suggestion +resharper_use_nullable_reference_types_annotation_syntax_highlighting = warning +resharper_use_null_propagation_highlighting = hint +resharper_use_object_or_collection_initializer_highlighting = suggestion +resharper_use_pattern_matching_highlighting = suggestion +resharper_use_positional_deconstruction_pattern_highlighting = none +resharper_use_raw_string_highlighting = hint +resharper_use_string_interpolation_highlighting = suggestion +resharper_use_string_interpolation_when_possible_highlighting = hint +resharper_use_switch_case_pattern_variable_highlighting = suggestion +resharper_use_symbol_alias_highlighting = hint +resharper_use_throw_if_null_method_highlighting = none +resharper_use_unsigned_right_shift_operator_highlighting = suggestion +resharper_use_verbatim_string_highlighting = hint +resharper_use_with_expression_to_copy_anonymous_object_highlighting = suggestion +resharper_use_with_expression_to_copy_record_highlighting = suggestion +resharper_use_with_expression_to_copy_struct_highlighting = suggestion +resharper_use_with_expression_to_copy_tuple_highlighting = suggestion +resharper_using_statement_resource_initialization_expression_highlighting = hint +resharper_using_statement_resource_initialization_highlighting = warning +resharper_value_parameter_not_used_highlighting = warning +resharper_value_range_attribute_violation_highlighting = warning +resharper_variable_can_be_not_nullable_highlighting = warning +resharper_variable_hides_outer_variable_highlighting = warning +resharper_virtual_member_call_in_constructor_highlighting = warning +resharper_virtual_member_never_overridden_global_highlighting = suggestion +resharper_virtual_member_never_overridden_local_highlighting = suggestion +resharper_void_method_with_must_dispose_resource_attribute_highlighting = warning +resharper_void_method_with_must_use_return_value_attribute_highlighting = warning +resharper_vulnerable_api_highlighting = warning +resharper_web_config_module_not_resolved_highlighting = warning +resharper_web_config_module_qualification_resolve_highlighting = warning +resharper_web_config_redundant_add_namespace_tag_highlighting = warning +resharper_web_config_redundant_location_tag_highlighting = warning +resharper_web_config_tag_prefix_redundand_highlighting = warning +resharper_web_config_type_not_resolved_highlighting = warning +resharper_web_config_unused_add_tag_highlighting = warning +resharper_web_config_unused_element_due_to_config_source_attribute_highlighting = warning +resharper_web_config_unused_remove_or_clear_tag_highlighting = warning +resharper_web_config_web_config_path_warning_highlighting = warning +resharper_web_config_wrong_module_highlighting = warning +resharper_web_ignored_path_highlighting = none +resharper_web_mapped_path_highlighting = hint +resharper_with_expression_instead_of_initializer_highlighting = suggestion +resharper_with_expression_modifies_all_members_highlighting = warning +resharper_wrong_indent_size_highlighting = none +resharper_xunit_xunit_test_with_console_output_highlighting = warning +resharper_zero_index_from_end_highlighting = warning diff --git a/.github/workflows/ci-ignore.yml b/.github/workflows/ci-ignore.yml index 66c58a002..32f1e679a 100644 --- a/.github/workflows/ci-ignore.yml +++ b/.github/workflows/ci-ignore.yml @@ -67,6 +67,20 @@ on: - '.github/labels.yml' - '.github/release.yml' - '.github/renovate.json' +permissions: + actions: read + checks: read + contents: read + deployments: read + id-token: none + issues: write + discussions: none + packages: none + pages: none + pull-requests: write + repository-projects: none + security-events: none + statuses: write jobs: build: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03389d4e7..a0076a4f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,13 +67,25 @@ on: - '.github/labels.yml' - '.github/release.yml' - '.github/renovate.json' +permissions: + actions: read + checks: read + contents: read + deployments: read + id-token: none + issues: write + discussions: none + packages: none + pages: none + pull-requests: write + repository-projects: none + security-events: none + statuses: write jobs: build: env: NUGET_PACKAGES: '${{ github.workspace }}/.nuget/packages' - strategy: - fail-fast: false runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000..077f99ff4 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,78 @@ +# ------------------------------------------------------------------------------ +# +# +# This code was generated. +# +# - To turn off auto-generation set: +# +# [GitHubActionsLint (AutoGenerate = false)] +# +# - To trigger manual generation invoke: +# +# nuke --generate-configuration GitHubActions_lint --host GitHubActions +# +# +# ------------------------------------------------------------------------------ + +name: lint + +on: + pull_request_target: + branches: + - 'master' + - 'main' + - 'next' +permissions: + actions: read + checks: read + contents: write + deployments: read + id-token: none + issues: write + discussions: none + packages: none + pages: none + pull-requests: write + repository-projects: none + security-events: none + statuses: write + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + repository: '${{ github.event.pull_request.head.repo.full_name }}' + ref: '${{ github.event.pull_request.head.ref }}' + token: '${{ secrets.RSG_BOT_TOKEN }}' + clean: 'false' + fetch-depth: '0' + - name: npm ci + run: | + npm ci + - name: 🔨 Use .NET Core 6.0 SDK + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '6.0.x' + - name: 🔨 Use .NET Core 8.0 SDK + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '8.0.x' + - name: 🎁 dotnet tool restore + run: | + dotnet tool restore + - name: Regenerate Build Configurations + id: regenerateBuildConfigurations + run: | + dotnet nuke RegenerateBuildConfigurations --skip + - name: Lint Staged + id: lintStaged + run: | + dotnet nuke LintStaged --skip + - name: Add & Commit + if: github.event.pull_request.user.login != 'renovate[bot]' && github.event.pull_request.user.login != 'dependabot[bot]' + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: 'Automatically linting code' diff --git a/.husky/pre-commit b/.husky/pre-commit index 85a664f54..7bc7b1c1a 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,9 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npx lint-staged -d -r -dotnet nuke --generate-configuration GitHubActions_ci --host GitHubActions -git add .github/workflows/ci.yml -dotnet nuke --generate-configuration GitHubActions_ci-ignore --host GitHubActions -git add .github/workflows/ci-ignore.yml -git add .nuke/build.schema.json +dotnet nuke lint-staged diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 8481989bc..bfc638648 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,26 +1,9 @@ -function forEachChunk(chunks, callback, chunkSize = 50) { - var mappedFiles = []; - var files = chunks.concat(); - while (files.length > 0) { - var chunk = files.splice(0, chunkSize); - mappedFiles = mappedFiles.concat(callback(chunk)); - } - return mappedFiles; -} - -function cleanupcode(filenames) { - var sln = require('./.nuke/parameters.json').Solution; - return forEachChunk(filenames, chunk => [ - `dotnet jb cleanupcode ${sln} "--profile=Full Cleanup" "--disable-settings-layers=GlobalAll;GlobalPerProduct;SolutionPersonal;ProjectPersonal" "--include=${chunk.join( - ';' - )}"`, - ]); +if (!process.env.NUKE_BUILD_ASSEMBLY) { + throw new Error("Environment variable 'NUKE_BUILD_ASSEMBLY' is not set."); } module.exports = { - '!(*verified|*received).cs': filenames => { - return [`echo "'${filenames.join(`' '`)}'" | dotnet format --include -`]; //.concat(cleanupcode(filenames)); - }, - '*.{csproj,targets,props,xml}': filenames => forEachChunk(filenames, chunk => [`prettier --write '${chunk.join(`' '`)}'`]), - '*.{js,ts,jsx,tsx,json,yml,yaml}': filenames => forEachChunk(filenames, chunk => [`prettier --write '${chunk.join(`' '`)}'`]), + '!(*verified|*received).cs': filenames => [`dotnet ${process.env.NUKE_BUILD_ASSEMBLY} lint --lint-files ${filenames.join(' ')}`], + '*.{csproj,targets,props,xml}': filenames => [`prettier --write '${filenames.join(`' '`)}'`], + '*.{js,ts,jsx,tsx,json,yml,yaml}': filenames => [`prettier --write '${filenames.join(`' '`)}'`], }; diff --git a/.nuke/build.schema.json b/.nuke/build.schema.json index 1f34c8e6b..a62f4682c 100644 --- a/.nuke/build.schema.json +++ b/.nuke/build.schema.json @@ -51,6 +51,13 @@ "VSCode" ] }, + "lint-files": { + "type": "array", + "description": "The files to lint, if not given lints all files", + "items": { + "type": "string" + } + }, "NoLogo": { "type": "boolean", "description": "Disables displaying the NUKE logo" @@ -81,26 +88,27 @@ "type": "string", "enum": [ "Build", - "BuildVersion", "Clean", "CoreBuild", "CoreRestore", "CoreTest", "Default", + "DotNetFormat", "DotnetToolRestore", - "Generate_Code_Coverage_Badges", - "Generate_Code_Coverage_Report", - "Generate_Code_Coverage_Report_Cobertura", - "Generate_Code_Coverage_Summary", "GenerateCodeCoverageBadges", "GenerateCodeCoverageReport", "GenerateCodeCoverageReportCobertura", "GenerateCodeCoverageSummary", "GenerateReadme", + "JetBrainsCleanupCode", + "Lint", + "LintStaged", "Pack", + "PostLint", + "Prettier", + "RegenerateBuildConfigurations", "Restore", "Test", - "Trigger_Code_Coverage_Reports", "TriggerCodeCoverageReports" ] } @@ -116,26 +124,27 @@ "type": "string", "enum": [ "Build", - "BuildVersion", "Clean", "CoreBuild", "CoreRestore", "CoreTest", "Default", + "DotNetFormat", "DotnetToolRestore", - "Generate_Code_Coverage_Badges", - "Generate_Code_Coverage_Report", - "Generate_Code_Coverage_Report_Cobertura", - "Generate_Code_Coverage_Summary", "GenerateCodeCoverageBadges", "GenerateCodeCoverageReport", "GenerateCodeCoverageReportCobertura", "GenerateCodeCoverageSummary", "GenerateReadme", + "JetBrainsCleanupCode", + "Lint", + "LintStaged", "Pack", + "PostLint", + "Prettier", + "RegenerateBuildConfigurations", "Restore", "Test", - "Trigger_Code_Coverage_Reports", "TriggerCodeCoverageReports" ] } diff --git a/.prettierignore b/.prettierignore index 33227515d..e775f0b62 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,3 +2,5 @@ azure-pipelines.nuke.yml .github/workflows/ci.yml .github/workflows/ci-ignore.yml .nuke/build.schema.json +package-lock.json + diff --git a/Directory.Build.props b/Directory.Build.props index c2b382534..da92d5301 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -20,6 +20,10 @@ true false $(NoWarn);0436;CA1014;CA1062 + latest + + + - + + diff --git a/Directory.Packages.props b/Directory.Packages.props index a0add388a..87723d42c 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,10 +3,12 @@ + + diff --git a/LaunchPad.sln b/LaunchPad.sln index d20b12890..06beaefbd 100644 --- a/LaunchPad.sln +++ b/LaunchPad.sln @@ -1,29 +1,29 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 +Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.29006.145 MinimumVisualStudioVersion = 15.0.26124.0 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{8FFDF555-DB50-45F9-9A2D-6410F39151C3}" ProjectSection(SolutionItems) = preProject - src\Directory.Build.props = src\Directory.Build.props - src\Directory.Build.targets = src\Directory.Build.targets + src/Directory.Build.props = src/Directory.Build.props + src/Directory.Build.targets = src/Directory.Build.targets + src/.editorconfig = src/.editorconfig EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{DF33E0FB-9790-4654-B60F-8AB22E0CC3D1}" ProjectSection(SolutionItems) = preProject - test\Directory.Build.props = test\Directory.Build.props - test\Directory.Build.targets = test\Directory.Build.targets - test\.editorconfig = test\.editorconfig + test/Directory.Build.props = test/Directory.Build.props + test/Directory.Build.targets = test/Directory.Build.targets + test/.editorconfig = test/.editorconfig EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = ".build", ".build\.build.csproj", "{166F1873-4CAE-4F54-88B6-5FE79678846B}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sample", "sample", "{5D11C19B-E8E4-4CE3-9C8A-1D368578EBCB}" ProjectSection(SolutionItems) = preProject - sample\Directory.Packages.props = sample\Directory.Packages.props - sample\Directory.Build.props = sample\Directory.Build.props - sample\Directory.Build.targets = sample\Directory.Build.targets - sample\.editorconfig = sample\.editorconfig + sample/Directory.Packages.props = sample/Directory.Packages.props + sample/Directory.Build.props = sample/Directory.Build.props + sample/Directory.Build.targets = sample/Directory.Build.targets + sample/.editorconfig = sample/.editorconfig EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sample.Command", "sample\Sample.Command\Sample.Command.csproj", "{9C03CA0E-4A3B-48F3-9DDD-DE1B325936A9}" @@ -43,6 +43,32 @@ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Extensions.Tests", "test\Extensions.Tests\Extensions.Tests.csproj", "{75C55F46-7422-4E00-B41B-0DB5593B4641}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "config", "config", "{D65A8130-6A58-4693-A96C-8C1DFA3CA355}" + ProjectSection(SolutionItems) = preProject + .config/dotnet-tools.json = .config/dotnet-tools.json + Directory.Build.props = Directory.Build.props + Directory.Packages.props = Directory.Packages.props + Directory.Packages.support.props = Directory.Packages.support.props + Directory.Build.targets = Directory.Build.targets + .editorconfig = .editorconfig + build.cmd = build.cmd + build.ps1 = build.ps1 + build.sh = build.sh + GitReleaseManager.yaml = GitReleaseManager.yaml + .appveyor.yml = .appveyor.yml + .codecov.yml = .codecov.yml + .mergify.yml = .mergify.yml + GitVersion.yml = GitVersion.yml + LICENSE = LICENSE + Readme.md = Readme.md + .gitattributes = .gitattributes + .gitignore = .gitignore + .gitmodules = .gitmodules + .prettierignore = .prettierignore + .prettierrc = .prettierrc + .lintstagedrc.js = .lintstagedrc.js + NuGet.config = NuGet.config + package.json = package.json + EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rocket.Surgery.LaunchPad.Hosting", "src\Hosting\Rocket.Surgery.LaunchPad.Hosting.csproj", "{8BBD24E1-DE43-414A-A0F3-5B8CC125D97F}" EndProject @@ -138,6 +164,37 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rocket.Surgery.LaunchPad.St EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rocket.Surgery.LaunchPad.StrawberryShake.Spatial", "src\StrawberryShake.Spatial\Rocket.Surgery.LaunchPad.StrawberryShake.Spatial.csproj", "{4A176BF2-DC9D-4D6B-8F36-B672273CF09B}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{C3A456FA-D2FE-4109-8DC3-E8191F878C1E}" + ProjectSection(SolutionItems) = preProject + .github/labels.yml = .github/labels.yml + .github/release.yml = .github/release.yml + .github/renovate.json = .github/renovate.json + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{3B269B1C-0BE2-485C-AFB7-BB24ACF0B178}" + ProjectSection(SolutionItems) = preProject + .github/workflows/ci-ignore.yml = .github/workflows/ci-ignore.yml + .github/workflows/ci.yml = .github/workflows/ci.yml + .github/workflows/close-milestone.yml = .github/workflows/close-milestone.yml + .github/workflows/dependabot-merge.yml = .github/workflows/dependabot-merge.yml + .github/workflows/draft-release.yml = .github/workflows/draft-release.yml + .github/workflows/publish-docs.yml = .github/workflows/publish-docs.yml + .github/workflows/sync-labels.yml = .github/workflows/sync-labels.yml + .github/workflows/update-milestone.yml = .github/workflows/update-milestone.yml + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".husky", ".husky", "{3F3EA1F9-1174-40B6-95DB-4C85FA611BBB}" + ProjectSection(SolutionItems) = preProject + .husky/pre-commit = .husky/pre-commit + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".vscode", ".vscode", "{2EB0A486-E55F-424C-9EA3-0ABBC10D0257}" + ProjectSection(SolutionItems) = preProject + .vscode/launch.json = .vscode/launch.json + .vscode/settings.json = .vscode/settings.json + .vscode/tasks.json = .vscode/tasks.json + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -818,10 +875,8 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {439897C2-CCBD-44FE-B2DC-A3E4670ADA59} - EndGlobalSection GlobalSection(NestedProjects) = preSolution + {166F1873-4CAE-4F54-88B6-5FE79678846B} = {D65A8130-6A58-4693-A96C-8C1DFA3CA355} {9C03CA0E-4A3B-48F3-9DDD-DE1B325936A9} = {5D11C19B-E8E4-4CE3-9C8A-1D368578EBCB} {52273EAC-E0B8-4143-B37E-6E4FEB35DD67} = {5D11C19B-E8E4-4CE3-9C8A-1D368578EBCB} {DC125465-FC05-4A18-B275-36606B90A4FE} = {5D11C19B-E8E4-4CE3-9C8A-1D368578EBCB} @@ -830,7 +885,6 @@ Global {64B30E17-4CF5-421F-814C-DF4730B508BA} = {8FFDF555-DB50-45F9-9A2D-6410F39151C3} {A8F0A232-3C70-4C9F-B35F-18B33D60D989} = {DF33E0FB-9790-4654-B60F-8AB22E0CC3D1} {75C55F46-7422-4E00-B41B-0DB5593B4641} = {DF33E0FB-9790-4654-B60F-8AB22E0CC3D1} - {166F1873-4CAE-4F54-88B6-5FE79678846B} = {D65A8130-6A58-4693-A96C-8C1DFA3CA355} {8BBD24E1-DE43-414A-A0F3-5B8CC125D97F} = {8FFDF555-DB50-45F9-9A2D-6410F39151C3} {FD33372B-4D2E-4F22-A866-6E01C2451FA4} = {5D11C19B-E8E4-4CE3-9C8A-1D368578EBCB} {2A39A833-558C-4054-8CEB-9293AEA38E18} = {8FFDF555-DB50-45F9-9A2D-6410F39151C3} @@ -878,5 +932,12 @@ Global {6A8FB8CA-6BB5-4A51-B38E-AA5BBBFA636D} = {DF33E0FB-9790-4654-B60F-8AB22E0CC3D1} {0DD3D13C-BB79-4222-B4E0-2B824C6BA4E8} = {8FFDF555-DB50-45F9-9A2D-6410F39151C3} {4A176BF2-DC9D-4D6B-8F36-B672273CF09B} = {8FFDF555-DB50-45F9-9A2D-6410F39151C3} + {C3A456FA-D2FE-4109-8DC3-E8191F878C1E} = {D65A8130-6A58-4693-A96C-8C1DFA3CA355} + {3B269B1C-0BE2-485C-AFB7-BB24ACF0B178} = {C3A456FA-D2FE-4109-8DC3-E8191F878C1E} + {3F3EA1F9-1174-40B6-95DB-4C85FA611BBB} = {D65A8130-6A58-4693-A96C-8C1DFA3CA355} + {2EB0A486-E55F-424C-9EA3-0ABBC10D0257} = {D65A8130-6A58-4693-A96C-8C1DFA3CA355} + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {439897C2-CCBD-44FE-B2DC-A3E4670ADA59} EndGlobalSection EndGlobal diff --git a/LaunchPad.sln.DotSettings b/LaunchPad.sln.DotSettings index f9cd69b80..95b10f606 100644 --- a/LaunchPad.sln.DotSettings +++ b/LaunchPad.sln.DotSettings @@ -1,10 +1,21 @@  - True - WARNING - WARNING - ShowAndRun - True - <?xml version="1.0" encoding="utf-16"?><Profile name="Full Cleanup"><CSReorderTypeMembers>True</CSReorderTypeMembers><CSCodeStyleAttributes ArrangeTypeAccessModifier="True" ArrangeTypeMemberAccessModifier="True" SortModifiers="True" RemoveRedundantParentheses="True" AddMissingParentheses="True" ArrangeBraces="True" ArrangeAttributes="True" ArrangeArgumentsStyle="True" ArrangeCodeBodyStyle="True" ArrangeVarStyle="True" ArrangeNamespaces="True" /><CSUseAutoProperty>True</CSUseAutoProperty><CSMakeFieldReadonly>True</CSMakeFieldReadonly><CSMakeAutoPropertyGetOnly>True</CSMakeAutoPropertyGetOnly><CSArrangeQualifiers>True</CSArrangeQualifiers><CSFixBuiltinTypeReferences>True</CSFixBuiltinTypeReferences><CSOptimizeUsings></CSOptimizeUsings><CSReformatCode>True</CSReformatCode><CSharpFormatDocComments>True</CSharpFormatDocComments><XAMLCollapseEmptyTags>False</XAMLCollapseEmptyTags><IDEA_SETTINGS>&lt;profile version="1.0"&gt; + True + WARNING + WARNING + WARNING + WARNING + WARNING + WARNING + WARNING + WARNING + WARNING + WARNING + WARNING + WARNING + WARNING + SUGGESTION + True + <?xml version="1.0" encoding="utf-16"?><Profile name="Full Cleanup"><CSCodeStyleAttributes ArrangeTypeAccessModifier="True" ArrangeTypeMemberAccessModifier="True" SortModifiers="True" RemoveRedundantParentheses="True" AddMissingParentheses="True" ArrangeAttributes="True" ArrangeArgumentsStyle="True" ArrangeCodeBodyStyle="True" ArrangeVarStyle="True" ArrangeTrailingCommas="True" ArrangeObjectCreation="True" ArrangeDefaultValue="True" ArrangeNamespaces="True" ArrangeNullCheckingPattern="True" /><RemoveCodeRedundancies>True</RemoveCodeRedundancies><CSUseAutoProperty>True</CSUseAutoProperty><CSMakeFieldReadonly>True</CSMakeFieldReadonly><CSMakeAutoPropertyGetOnly>True</CSMakeAutoPropertyGetOnly><CSArrangeQualifiers>True</CSArrangeQualifiers><CSFixBuiltinTypeReferences>True</CSFixBuiltinTypeReferences><CSOptimizeUsings><OptimizeUsings>True</OptimizeUsings></CSOptimizeUsings><CSShortenReferences>True</CSShortenReferences><CSReformatCode>True</CSReformatCode><CSharpFormatDocComments>True</CSharpFormatDocComments><IDEA_SETTINGS>&lt;profile version="1.0"&gt; &lt;option name="myName" value="Full Cleanup" /&gt; &lt;inspection_tool class="ES6ShorthandObjectProperty" enabled="false" level="INFORMATION" enabled_by_default="false" /&gt; &lt;inspection_tool class="JSArrowFunctionBracesCanBeRemoved" enabled="false" level="INFORMATION" enabled_by_default="false" /&gt; @@ -17,8 +28,8 @@ &lt;inspection_tool class="UnnecessaryLabelOnBreakStatementJS" enabled="false" level="WARNING" enabled_by_default="false" /&gt; &lt;inspection_tool class="UnnecessaryLabelOnContinueStatementJS" enabled="false" level="WARNING" enabled_by_default="false" /&gt; &lt;inspection_tool class="UnnecessaryReturnJS" enabled="false" level="WARNING" enabled_by_default="false" /&gt; - &lt;inspection_tool class="WrongPropertyKeyValueDelimiter" enabled="false" level="WEAK WARNING" enabled_by_default="false" /&gt; -&lt;/profile&gt;</IDEA_SETTINGS><RIDER_SETTINGS>&lt;profile&gt; + &lt;inspection_tool class="WrongPropertyKeyValueDelimiter" enabled="true" level="WARNING" enabled_by_default="true" /&gt; +&lt;/profile&gt;</IDEA_SETTINGS><XMLReformatCode>True</XMLReformatCode><CSReformatInactiveBranches>True</CSReformatInactiveBranches><FSharpReformatCode>True</FSharpReformatCode><HtmlReformatCode>True</HtmlReformatCode><FormatAttributeQuoteDescriptor>True</FormatAttributeQuoteDescriptor><AspOptimizeRegisterDirectives>True</AspOptimizeRegisterDirectives><Xaml.RemoveRedundantNamespaceAlias>True</Xaml.RemoveRedundantNamespaceAlias><CSReorderTypeMembers>True</CSReorderTypeMembers><Xaml.RedundantFreezeAttribute>True</Xaml.RedundantFreezeAttribute><Xaml.RemoveRedundantModifiersAttribute>True</Xaml.RemoveRedundantModifiersAttribute><Xaml.RemoveRedundantNameAttribute>True</Xaml.RemoveRedundantNameAttribute><Xaml.RemoveRedundantResource>True</Xaml.RemoveRedundantResource><Xaml.RemoveRedundantCollectionProperty>True</Xaml.RemoveRedundantCollectionProperty><Xaml.RemoveRedundantAttachedPropertySetter>True</Xaml.RemoveRedundantAttachedPropertySetter><Xaml.RemoveRedundantStyledValue>True</Xaml.RemoveRedundantStyledValue><Xaml.RemoveForbiddenResourceName>True</Xaml.RemoveForbiddenResourceName><Xaml.RemoveRedundantGridDefinitionsAttribute>True</Xaml.RemoveRedundantGridDefinitionsAttribute><Xaml.RemoveRedundantUpdateSourceTriggerAttribute>True</Xaml.RemoveRedundantUpdateSourceTriggerAttribute><Xaml.RemoveRedundantBindingModeAttribute>True</Xaml.RemoveRedundantBindingModeAttribute><Xaml.RemoveRedundantGridSpanAttribut>True</Xaml.RemoveRedundantGridSpanAttribut><CppClangTidyCleanupDescriptor /><RIDER_SETTINGS>&lt;profile&gt; &lt;Language id="CSS"&gt; &lt;Reformat&gt;true&lt;/Reformat&gt; &lt;Rearrange&gt;true&lt;/Rearrange&gt; @@ -29,12 +40,12 @@ &lt;Language id="GraphQL"&gt; &lt;Reformat&gt;true&lt;/Reformat&gt; &lt;/Language&gt; - &lt;Language id="GraphQL Endpoint"&gt; + &lt;Language id="HCL"&gt; &lt;Reformat&gt;true&lt;/Reformat&gt; &lt;/Language&gt; &lt;Language id="HTML"&gt; - &lt;OptimizeImports&gt;true&lt;/OptimizeImports&gt; &lt;Reformat&gt;true&lt;/Reformat&gt; + &lt;OptimizeImports&gt;true&lt;/OptimizeImports&gt; &lt;Rearrange&gt;true&lt;/Rearrange&gt; &lt;/Language&gt; &lt;Language id="HTTP Request"&gt; @@ -46,10 +57,6 @@ &lt;Language id="Ini"&gt; &lt;Reformat&gt;true&lt;/Reformat&gt; &lt;/Language&gt; - &lt;Language id="JAVA"&gt; - &lt;OptimizeImports&gt;true&lt;/OptimizeImports&gt; - &lt;Rearrange&gt;true&lt;/Rearrange&gt; - &lt;/Language&gt; &lt;Language id="JSON"&gt; &lt;Reformat&gt;true&lt;/Reformat&gt; &lt;/Language&gt; @@ -57,8 +64,8 @@ &lt;Reformat&gt;true&lt;/Reformat&gt; &lt;/Language&gt; &lt;Language id="JavaScript"&gt; - &lt;OptimizeImports&gt;true&lt;/OptimizeImports&gt; &lt;Reformat&gt;true&lt;/Reformat&gt; + &lt;OptimizeImports&gt;true&lt;/OptimizeImports&gt; &lt;Rearrange&gt;true&lt;/Rearrange&gt; &lt;/Language&gt; &lt;Language id="Markdown"&gt; @@ -79,17 +86,51 @@ &lt;Language id="TOML"&gt; &lt;Reformat&gt;true&lt;/Reformat&gt; &lt;/Language&gt; + &lt;Language id="VueExpr"&gt; + &lt;Reformat&gt;true&lt;/Reformat&gt; + &lt;/Language&gt; &lt;Language id="XML"&gt; - &lt;OptimizeImports&gt;true&lt;/OptimizeImports&gt; &lt;Reformat&gt;true&lt;/Reformat&gt; + &lt;OptimizeImports&gt;true&lt;/OptimizeImports&gt; &lt;Rearrange&gt;true&lt;/Rearrange&gt; &lt;/Language&gt; &lt;Language id="yaml"&gt; &lt;Reformat&gt;true&lt;/Reformat&gt; &lt;/Language&gt; -&lt;/profile&gt;</RIDER_SETTINGS><CSShortenReferences>True</CSShortenReferences><RemoveCodeRedundancies>True</RemoveCodeRedundancies></Profile> - Full Cleanup - <?xml version="1.0" encoding="utf-16"?> +&lt;/profile&gt;</RIDER_SETTINGS></Profile> + Full Cleanup + True + True + True + True + True + True + True + True + True + True + True + True + True + False + 2 + True + True + True + True + True + True + True + True + True + True + True + True + True + OnSingleLine + True + OnSingleLine + <?xml version="1.0" encoding="utf-16"?> <Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"> <TypePattern DisplayName="Non-reorderable types"> <TypePattern.Match> @@ -263,7 +304,10 @@ </TypePattern> </Patterns> - No - True + True + True + True - True \ No newline at end of file + True + True + diff --git a/package-lock.json b/package-lock.json index e6cbeca6f..0dc9a94b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,8 +7,9 @@ "devDependencies": { "@prettier/plugin-xml": "3.2.2", "husky": "8.0.3", - "lint-staged": "15.1.0", - "prettier": "3.1.0" + "lint-staged": "^15.1.0", + "prettier": "3.1.0", + "which": "^4.0.0" } }, "node_modules/@prettier/plugin-xml": { @@ -164,6 +165,27 @@ "node": ">= 8" } }, + "node_modules/cross-spawn/node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/cross-spawn/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -316,10 +338,13 @@ } }, "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", + "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "dev": true, + "engines": { + "node": ">=16" + } }, "node_modules/lilconfig": { "version": "2.1.0", @@ -693,18 +718,18 @@ } }, "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", + "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", "dev": true, "dependencies": { - "isexe": "^2.0.0" + "isexe": "^3.1.1" }, "bin": { - "node-which": "bin/node-which" + "node-which": "bin/which.js" }, "engines": { - "node": ">= 8" + "node": "^16.13.0 || >=18.0.0" } }, "node_modules/wrap-ansi": { @@ -838,6 +863,23 @@ "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" + }, + "dependencies": { + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } } }, "debug": { @@ -938,9 +980,9 @@ "dev": true }, "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", + "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", "dev": true }, "lilconfig": { @@ -1190,12 +1232,12 @@ "dev": true }, "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", + "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", "dev": true, "requires": { - "isexe": "^2.0.0" + "isexe": "^3.1.1" } }, "wrap-ansi": { diff --git a/package.json b/package.json index 411b5d889..9d6ee01e9 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,11 @@ "devDependencies": { "@prettier/plugin-xml": "3.2.2", "husky": "8.0.3", - "lint-staged": "15.1.0", - "prettier": "3.1.0" + "lint-staged": "^15.1.0", + "prettier": "3.1.0", + "which": "^4.0.0" }, "scripts": { - "prepare": "husky install" + "husky": "husky install" } } diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index cfebec206..2eb16c8a9 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -1,3 +1,10 @@ + + + + + + +