Updates formatting rules (#199)
This commit is contained in:
parent
8caf5a422f
commit
1f651992d7
1752 changed files with 203904 additions and 203367 deletions
243
.editorconfig
243
.editorconfig
|
|
@ -1,8 +1,247 @@
|
|||
[*]
|
||||
charset=utf-8
|
||||
end_of_line=crlf
|
||||
# We don't specify so people can use their native
|
||||
# end_of_line = crlf
|
||||
trim_trailing_whitespace=true
|
||||
insert_final_newline=true
|
||||
indent_style=space
|
||||
indent_size=2
|
||||
indent_size=4
|
||||
tab_width=4
|
||||
max_line_length=125
|
||||
|
||||
# Microsoft .NET properties
|
||||
csharp_new_line_before_members_in_object_initializers=false
|
||||
csharp_preferred_modifier_order=public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion
|
||||
csharp_space_after_cast=false
|
||||
dotnet_diagnostic.bc42024.severity=suggestion
|
||||
dotnet_diagnostic.cs0078.severity=none
|
||||
dotnet_diagnostic.cs0108.severity=none
|
||||
dotnet_diagnostic.cs0109.severity=none
|
||||
dotnet_diagnostic.cs0114.severity=none
|
||||
dotnet_diagnostic.cs0162.severity=none
|
||||
dotnet_diagnostic.cs0168.severity=suggestion
|
||||
dotnet_diagnostic.cs0183.severity=none
|
||||
dotnet_diagnostic.cs0184.severity=none
|
||||
dotnet_diagnostic.cs0197.severity=none
|
||||
dotnet_diagnostic.cs0252.severity=none
|
||||
dotnet_diagnostic.cs0253.severity=none
|
||||
dotnet_diagnostic.cs0420.severity=none
|
||||
dotnet_diagnostic.cs0465.severity=none
|
||||
dotnet_diagnostic.cs0469.severity=none
|
||||
dotnet_diagnostic.cs0612.severity=none
|
||||
dotnet_diagnostic.cs0618.severity=none
|
||||
dotnet_diagnostic.cs0628.severity=none
|
||||
dotnet_diagnostic.cs0642.severity=none
|
||||
dotnet_diagnostic.cs0657.severity=none
|
||||
dotnet_diagnostic.cs0658.severity=none
|
||||
dotnet_diagnostic.cs0659.severity=none
|
||||
dotnet_diagnostic.cs0660.severity=none
|
||||
dotnet_diagnostic.cs0661.severity=none
|
||||
dotnet_diagnostic.cs0665.severity=none
|
||||
dotnet_diagnostic.cs0672.severity=none
|
||||
dotnet_diagnostic.cs0693.severity=none
|
||||
dotnet_diagnostic.cs1030.severity=none
|
||||
dotnet_diagnostic.cs1058.severity=none
|
||||
dotnet_diagnostic.cs1066.severity=none
|
||||
dotnet_diagnostic.cs1522.severity=none
|
||||
dotnet_diagnostic.cs1570.severity=none
|
||||
dotnet_diagnostic.cs1571.severity=none
|
||||
dotnet_diagnostic.cs1572.severity=none
|
||||
dotnet_diagnostic.cs1573.severity=none
|
||||
dotnet_diagnostic.cs1574.severity=none
|
||||
dotnet_diagnostic.cs1580.severity=none
|
||||
dotnet_diagnostic.cs1581.severity=none
|
||||
dotnet_diagnostic.cs1584.severity=none
|
||||
dotnet_diagnostic.cs1587.severity=none
|
||||
dotnet_diagnostic.cs1589.severity=none
|
||||
dotnet_diagnostic.cs1590.severity=none
|
||||
dotnet_diagnostic.cs1591.severity=none
|
||||
dotnet_diagnostic.cs1592.severity=none
|
||||
dotnet_diagnostic.cs1710.severity=none
|
||||
dotnet_diagnostic.cs1711.severity=none
|
||||
dotnet_diagnostic.cs1712.severity=none
|
||||
dotnet_diagnostic.cs1717.severity=none
|
||||
dotnet_diagnostic.cs1723.severity=none
|
||||
dotnet_diagnostic.cs1957.severity=none
|
||||
dotnet_diagnostic.cs1981.severity=none
|
||||
dotnet_diagnostic.cs1998.severity=none
|
||||
dotnet_diagnostic.cs4014.severity=none
|
||||
dotnet_diagnostic.cs7095.severity=none
|
||||
dotnet_diagnostic.cs8094.severity=none
|
||||
dotnet_diagnostic.cs8123.severity=none
|
||||
dotnet_diagnostic.cs8383.severity=none
|
||||
dotnet_diagnostic.cs8424.severity=none
|
||||
dotnet_diagnostic.cs8425.severity=none
|
||||
dotnet_diagnostic.cs8509.severity=none
|
||||
dotnet_diagnostic.cs8597.severity=none
|
||||
dotnet_diagnostic.cs8600.severity=none
|
||||
dotnet_diagnostic.cs8601.severity=none
|
||||
dotnet_diagnostic.cs8602.severity=none
|
||||
dotnet_diagnostic.cs8603.severity=none
|
||||
dotnet_diagnostic.cs8604.severity=none
|
||||
dotnet_diagnostic.cs8605.severity=none
|
||||
dotnet_diagnostic.cs8607.severity=none
|
||||
dotnet_diagnostic.cs8608.severity=none
|
||||
dotnet_diagnostic.cs8609.severity=none
|
||||
dotnet_diagnostic.cs8610.severity=none
|
||||
dotnet_diagnostic.cs8611.severity=none
|
||||
dotnet_diagnostic.cs8612.severity=none
|
||||
dotnet_diagnostic.cs8613.severity=none
|
||||
dotnet_diagnostic.cs8614.severity=none
|
||||
dotnet_diagnostic.cs8615.severity=none
|
||||
dotnet_diagnostic.cs8616.severity=none
|
||||
dotnet_diagnostic.cs8617.severity=none
|
||||
dotnet_diagnostic.cs8618.severity=none
|
||||
dotnet_diagnostic.cs8619.severity=none
|
||||
dotnet_diagnostic.cs8620.severity=none
|
||||
dotnet_diagnostic.cs8621.severity=none
|
||||
dotnet_diagnostic.cs8622.severity=none
|
||||
dotnet_diagnostic.cs8624.severity=none
|
||||
dotnet_diagnostic.cs8625.severity=none
|
||||
dotnet_diagnostic.cs8629.severity=none
|
||||
dotnet_diagnostic.cs8631.severity=none
|
||||
dotnet_diagnostic.cs8632.severity=none
|
||||
dotnet_diagnostic.cs8633.severity=none
|
||||
dotnet_diagnostic.cs8634.severity=none
|
||||
dotnet_diagnostic.cs8643.severity=none
|
||||
dotnet_diagnostic.cs8644.severity=none
|
||||
dotnet_diagnostic.cs8645.severity=none
|
||||
dotnet_diagnostic.cs8655.severity=none
|
||||
dotnet_diagnostic.cs8656.severity=none
|
||||
dotnet_diagnostic.cs8667.severity=none
|
||||
dotnet_diagnostic.cs8670.severity=none
|
||||
dotnet_diagnostic.cs8714.severity=none
|
||||
dotnet_diagnostic.cs8762.severity=none
|
||||
dotnet_diagnostic.cs8763.severity=none
|
||||
dotnet_diagnostic.cs8764.severity=none
|
||||
dotnet_diagnostic.cs8765.severity=none
|
||||
dotnet_diagnostic.cs8766.severity=none
|
||||
dotnet_diagnostic.cs8767.severity=none
|
||||
dotnet_diagnostic.cs8768.severity=none
|
||||
dotnet_diagnostic.cs8769.severity=none
|
||||
dotnet_diagnostic.cs8770.severity=none
|
||||
dotnet_diagnostic.cs8774.severity=none
|
||||
dotnet_diagnostic.cs8775.severity=none
|
||||
dotnet_diagnostic.cs8776.severity=none
|
||||
dotnet_diagnostic.cs8777.severity=none
|
||||
dotnet_style_parentheses_in_arithmetic_binary_operators=never_if_unnecessary:none
|
||||
dotnet_style_parentheses_in_other_binary_operators=never_if_unnecessary:none
|
||||
dotnet_style_parentheses_in_relational_binary_operators=never_if_unnecessary:none
|
||||
dotnet_style_predefined_type_for_locals_parameters_members=true:suggestion
|
||||
dotnet_style_predefined_type_for_member_access=true:warning
|
||||
dotnet_style_qualification_for_event=false:suggestion
|
||||
dotnet_style_qualification_for_field=false:suggestion
|
||||
dotnet_style_qualification_for_method=false:suggestion
|
||||
dotnet_style_qualification_for_property=false:suggestion
|
||||
dotnet_style_require_accessibility_modifiers=for_non_interface_members:suggestion
|
||||
|
||||
# ReSharper properties
|
||||
resharper_apply_auto_detected_rules=false
|
||||
resharper_case_block_braces=next_line_shifted_2
|
||||
resharper_constructor_or_destructor_body=expression_body
|
||||
resharper_csharp_int_align_comments=true
|
||||
resharper_csharp_stick_comment=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_declaration_rpar=true
|
||||
resharper_csharp_wrap_before_invocation_rpar=true
|
||||
# resharper_int_align_assignments=true
|
||||
# resharper_int_align_variables=true
|
||||
resharper_int_align_switch_expressions=true
|
||||
resharper_int_align_switch_sections=true
|
||||
resharper_max_enum_members_on_line=1
|
||||
resharper_wrap_before_extends_colon=true
|
||||
# Nested statements
|
||||
resharper_indent_nested_fixed_stmt=true
|
||||
resharper_indent_nested_foreach_stmt=true
|
||||
resharper_indent_nested_for_stmt=true
|
||||
resharper_indent_nested_lock_stmt=true
|
||||
resharper_indent_nested_usings_stmt=true
|
||||
resharper_indent_nested_while_stmt=true
|
||||
|
||||
resharper_local_function_body=expression_body
|
||||
resharper_max_array_initializer_elements_on_line=10
|
||||
resharper_method_or_operator_body=expression_body
|
||||
resharper_nested_ternary_style=compact
|
||||
resharper_space_after_cast=false
|
||||
resharper_space_within_single_line_array_initializer_braces=true
|
||||
resharper_use_indent_from_vs=false
|
||||
resharper_wrap_chained_method_calls=chop_if_long
|
||||
resharper_wrap_lines=true
|
||||
|
||||
# ReSharper inspection severities https://www.jetbrains.com/help/resharper/EditorConfig_Index.html
|
||||
resharper_arrange_constructor_or_destructor_body_highlighting=suggestion
|
||||
resharper_arrange_local_function_body_highlighting=suggestion
|
||||
resharper_arrange_method_or_operator_body_highlighting=suggestion
|
||||
resharper_arrange_redundant_parentheses_highlighting=suggestion
|
||||
resharper_arrange_this_qualifier_highlighting=hint
|
||||
resharper_arrange_type_member_modifiers_highlighting=hint
|
||||
resharper_arrange_type_modifiers_highlighting=hint
|
||||
resharper_bad_control_braces_indent_highlighting=warning
|
||||
resharper_bad_declaration_braces_indent_highlighting=warning
|
||||
resharper_bad_expression_braces_indent_highlighting=warning
|
||||
resharper_bad_namespace_braces_indent_highlighting=warning
|
||||
resharper_bad_preprocessor_indent_highlighting=warning
|
||||
resharper_built_in_type_reference_style_highlighting=hint
|
||||
resharper_check_namespace_highlighting=hint
|
||||
resharper_compare_of_floats_by_equality_operator_highlighting=suggestion
|
||||
resharper_convert_conditional_ternary_expression_to_switch_expression_highlighting=warning
|
||||
resharper_convert_if_statement_to_switch_statement_highlighting=none
|
||||
resharper_convert_switch_statement_to_switch_expression_highlighting=warning
|
||||
resharper_foreach_can_be_partly_converted_to_query_using_another_get_enumerator_highlighting=none
|
||||
resharper_for_can_be_converted_to_foreach_highlighting=none
|
||||
resharper_inconsistent_naming_highlighting=none
|
||||
resharper_invert_if_highlighting=none
|
||||
resharper_member_can_be_private_global_highlighting=none
|
||||
resharper_member_can_be_private_local_highlighting=none
|
||||
resharper_member_can_be_protected_global_highlighting=none
|
||||
resharper_member_can_be_protected_local_highlighting=none
|
||||
resharper_merge_conditional_expression_highlighting=warning
|
||||
resharper_merge_conditional_expression_when_possible_highlighting=warning
|
||||
resharper_merge_sequential_checks_highlighting=warning
|
||||
resharper_merge_sequential_checks_when_possible_highlighting=warning
|
||||
resharper_missing_indent_highlighting=warning
|
||||
resharper_outdent_is_off_prev_level_highlighting=warning
|
||||
resharper_possible_null_reference_exception_highlighting=error
|
||||
resharper_redundant_base_qualifier_highlighting=warning
|
||||
resharper_redundant_empty_object_creation_argument_list_highlighting=warning
|
||||
resharper_redundant_type_specification_in_default_expression_highlighting=warning
|
||||
resharper_remove_redundant_braces_highlighting=warning
|
||||
resharper_remove_redundant_or_statement_false_highlighting=warning
|
||||
resharper_remove_redundant_or_statement_true_highlighting=warning
|
||||
resharper_specify_a_culture_in_string_conversion_explicitly_highlighting=hint
|
||||
resharper_string_compare_is_culture_specific_1_highlighting=hint
|
||||
resharper_string_compare_is_culture_specific_2_highlighting=hint
|
||||
resharper_string_compare_is_culture_specific_3_highlighting=hint
|
||||
resharper_string_compare_is_culture_specific_4_highlighting=hint
|
||||
resharper_string_compare_is_culture_specific_5_highlighting=hint
|
||||
resharper_string_compare_is_culture_specific_6_highlighting=hint
|
||||
resharper_string_compare_to_is_culture_specific_highlighting=hint
|
||||
resharper_string_index_of_is_culture_specific_1_highlighting=hint
|
||||
resharper_string_index_of_is_culture_specific_2_highlighting=hint
|
||||
resharper_string_index_of_is_culture_specific_3_highlighting=hint
|
||||
resharper_string_last_index_of_is_culture_specific_1_highlighting=hint
|
||||
resharper_string_last_index_of_is_culture_specific_2_highlighting=hint
|
||||
resharper_string_last_index_of_is_culture_specific_3_highlighting=hint
|
||||
resharper_suggest_discard_declaration_var_style_highlighting=none
|
||||
resharper_suggest_var_or_type_built_in_types_highlighting=none
|
||||
resharper_suggest_var_or_type_elsewhere_highlighting=none
|
||||
resharper_suggest_var_or_type_simple_types_highlighting=none
|
||||
resharper_tabs_and_spaces_mismatch_highlighting=warning
|
||||
resharper_unused_auto_property_accessor_global_highlighting=none
|
||||
resharper_unused_auto_property_accessor_local_highlighting=none
|
||||
resharper_unused_variable_highlighting=suggestion
|
||||
resharper_virtual_member_call_in_constructor_highlighting=hint
|
||||
resharper_web_config_module_not_resolved_highlighting=warning
|
||||
resharper_web_config_type_not_resolved_highlighting=warning
|
||||
resharper_web_config_wrong_module_highlighting=warning
|
||||
resharper_wrong_indent_size_highlighting=warning
|
||||
|
||||
[*.{sln,csproj,bat}]
|
||||
end_of_line=crlf
|
||||
|
||||
[*.{yml,json,md,sh}]
|
||||
end_of_line=lf
|
||||
indent_size=2
|
||||
tab_width=2
|
||||
|
|
|
|||
8
.gitattributes
vendored
Normal file
8
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
* text=auto
|
||||
*.cs text diff=csharp
|
||||
*.json text diff=json
|
||||
*.sln text eol=crlf
|
||||
*.csproj text eol=crlf
|
||||
*.bat text eol=crlf
|
||||
*.sh text eol=lf
|
||||
publish.cmd text eol=lf
|
||||
|
|
@ -16,5 +16,18 @@
|
|||
<NoWarn>NU1603</NoWarn>
|
||||
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
|
||||
<RuntimeIdentifiers>win-x64;debian.10-x64;debian.9-x64;ubuntu.16.04-x64;ubuntu.18.04-x64;ubuntu.20.04-x64;centos.7-x64;centos.8-x64;osx-x64</RuntimeIdentifiers>
|
||||
<Configurations>Debug;Release;Analyze</Configurations>
|
||||
<RunCodeAnalysis>true</RunCodeAnalysis>
|
||||
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition="'$(Configuration)'=='Analyze'">
|
||||
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.205" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers">
|
||||
<Version>3.0.0</Version>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<AdditionalFiles Include=".\stylecop.json" />
|
||||
<AdditionalFiles Include=".\Rules.ruleset" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -25,8 +25,7 @@ using System.IO;
|
|||
|
||||
namespace Server
|
||||
{
|
||||
public class AggressorInfo
|
||||
{
|
||||
public class AggressorInfo {
|
||||
private static readonly Queue<AggressorInfo> m_Pool = new Queue<AggressorInfo>();
|
||||
private Mobile m_Attacker, m_Defender;
|
||||
private bool m_CanReportMurder;
|
||||
|
|
|
|||
|
|
@ -10,12 +10,13 @@
|
|||
<Product>ModernUO Server</Product>
|
||||
<PublishDir>..\..\Distribution</PublishDir>
|
||||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
||||
<Configurations>Debug;Release;Analyze</Configurations>
|
||||
<UseNETCoreGenerator>true</UseNETCoreGenerator>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<WarningsAsErrors />
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<RunCodeAnalysis>true</RunCodeAnalysis>
|
||||
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
|
||||
</PropertyGroup>
|
||||
<Target Name="CleanPub" AfterTargets="Clean">
|
||||
<Message Text="Removing distribution files..." />
|
||||
|
|
@ -54,17 +55,9 @@
|
|||
<Optimize>true</Optimize>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Analyze'">
|
||||
<RunCodeAnalysis>true</RunCodeAnalysis>
|
||||
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
|
||||
<CodeAnalysisRuleSet>..\..\Rules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<AdditionalFiles Include="..\..\Rules.ruleset">
|
||||
<Link>Rules.rulest</Link>
|
||||
</AdditionalFiles>
|
||||
<AdditionalFiles Include="..\..\stylecop.json">
|
||||
<Link>stylecop.json</Link>
|
||||
</AdditionalFiles>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Connections.Abstractions" Version="3.1.5" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv" Version="3.1.5" />
|
||||
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="3.1.5" />
|
||||
|
|
@ -72,14 +65,7 @@
|
|||
<PackageReference Include="Zlib.Bindings" Version="1.2.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(Configuration)'=='Analyze'">
|
||||
<PackageReference Include="StyleCop.Analyzers">
|
||||
<Version>1.1.118</Version>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers">
|
||||
<Version>3.0.0</Version>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<AdditionalFiles Include="..\..\stylecop.json" />
|
||||
<AdditionalFiles Include="..\..\Rules.ruleset" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
<AssemblyName>UOContent</AssemblyName>
|
||||
<Product>ModernUO Content</Product>
|
||||
<PublishDir>..\..\Distribution\Assemblies</PublishDir>
|
||||
<Configurations>Debug;Release;Analyze</Configurations>
|
||||
<UseNETCoreGenerator>true</UseNETCoreGenerator>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<WarningsAsErrors />
|
||||
|
|
@ -46,18 +45,9 @@
|
|||
<Optimize>true</Optimize>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Analyze'">
|
||||
<RunCodeAnalysis>true</RunCodeAnalysis>
|
||||
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
|
||||
<CodeAnalysisRuleSet>..\..\Rules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="SpecialSystems\README.TXT" />
|
||||
<AdditionalFiles Include="..\..\Rules.ruleset">
|
||||
<Link>Rules.rulest</Link>
|
||||
</AdditionalFiles>
|
||||
<AdditionalFiles Include="..\..\stylecop.json">
|
||||
<Link>stylecop.json</Link>
|
||||
</AdditionalFiles>
|
||||
<ProjectReference Include="..\Server\Server.csproj" Private="false" PrivateAssets="All" IncludeAssets="None">
|
||||
<IncludeInPackage>false</IncludeInPackage>
|
||||
</ProjectReference>
|
||||
|
|
@ -72,14 +62,7 @@
|
|||
<PackageReference Include="Argon2.Bindings" Version="1.6.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(Configuration)'=='Analyze'">
|
||||
<PackageReference Include="StyleCop.Analyzers">
|
||||
<Version>1.1.118</Version>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers">
|
||||
<Version>3.0.0</Version>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<AdditionalFiles Include="..\..\stylecop.json" />
|
||||
<AdditionalFiles Include="..\..\Rules.ruleset" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ ModernUO [ SDK](https://dotnet.microsoft.com/download/dotnet/5.0)
|
||||
|
||||
#### Publishing Builds
|
||||
- Using terminal or powershell: `./Tools/publish.cmd [os] [framework] [release|debug (default: release)]`
|
||||
- Using terminal or powershell: `./publish.cmd [os] [framework] [release|debug (default: release)]`
|
||||
- Supported `os`:
|
||||
- `win` for Windows 8/10/2019
|
||||
- `osx` for MacOS
|
||||
|
|
|
|||
480
Rules.ruleset
480
Rules.ruleset
|
|
@ -4,101 +4,401 @@
|
|||
<Name Resource="MinimumRecommendedRules_Name" />
|
||||
<Description Resource="MinimumRecommendedRules_Description" />
|
||||
</Localization>
|
||||
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
|
||||
<Rule Id="CA1001" Action="Info" />
|
||||
<Rule Id="CA1009" Action="Warning" />
|
||||
<Rule Id="CA1016" Action="Warning" />
|
||||
<Rule Id="CA1033" Action="Warning" />
|
||||
<Rule Id="CA1049" Action="Warning" />
|
||||
<Rule Id="CA1060" Action="Warning" />
|
||||
<Rule Id="CA1061" Action="Warning" />
|
||||
<Rule Id="CA1065" Action="Warning" />
|
||||
<Rule Id="CA1301" Action="Warning" />
|
||||
<Rule Id="CA1400" Action="Warning" />
|
||||
<Rule Id="CA1401" Action="Warning" />
|
||||
<Rule Id="CA1403" Action="Warning" />
|
||||
<Rule Id="CA1404" Action="Warning" />
|
||||
<Rule Id="CA1405" Action="Warning" />
|
||||
<Rule Id="CA1410" Action="Warning" />
|
||||
<Rule Id="CA1415" Action="Warning" />
|
||||
<Rule Id="CA1821" Action="Warning" />
|
||||
<Rule Id="CA1900" Action="Warning" />
|
||||
<Rule Id="CA1901" Action="Warning" />
|
||||
<Rule Id="CA2002" Action="Warning" />
|
||||
<Rule Id="CA2100" Action="Warning" />
|
||||
<Rule Id="CA2101" Action="Warning" />
|
||||
<Rule Id="CA2108" Action="Warning" />
|
||||
<Rule Id="CA2111" Action="Warning" />
|
||||
<Rule Id="CA2112" Action="Warning" />
|
||||
<Rule Id="CA2114" Action="Warning" />
|
||||
<Rule Id="CA2116" Action="Warning" />
|
||||
<Rule Id="CA2117" Action="Warning" />
|
||||
<Rule Id="CA2122" Action="Warning" />
|
||||
<Rule Id="CA2123" Action="Warning" />
|
||||
<Rule Id="CA2124" Action="Warning" />
|
||||
<Rule Id="CA2126" Action="Warning" />
|
||||
<Rule Id="CA2131" Action="Warning" />
|
||||
<Rule Id="CA2132" Action="Warning" />
|
||||
<Rule Id="CA2133" Action="Warning" />
|
||||
<Rule Id="CA2134" Action="Warning" />
|
||||
<Rule Id="CA2137" Action="Warning" />
|
||||
<Rule Id="CA2138" Action="Warning" />
|
||||
<Rule Id="CA2140" Action="Warning" />
|
||||
<Rule Id="CA2141" Action="Warning" />
|
||||
<Rule Id="CA2146" Action="Warning" />
|
||||
<Rule Id="CA2147" Action="Warning" />
|
||||
<Rule Id="CA2149" Action="Warning" />
|
||||
<Rule Id="CA2200" Action="Warning" />
|
||||
<Rule Id="CA2202" Action="Warning" />
|
||||
<Rule Id="CA2212" Action="Warning" />
|
||||
<Rule Id="CA2213" Action="Info" />
|
||||
<Rule Id="CA2214" Action="Info" />
|
||||
<Rule Id="CA2216" Action="Info" />
|
||||
<Rule Id="CA2220" Action="Warning" />
|
||||
<Rule Id="CA2229" Action="Warning" />
|
||||
<Rule Id="CA2231" Action="Warning" />
|
||||
<Rule Id="CA2232" Action="Warning" />
|
||||
<Rule Id="CA2235" Action="Warning" />
|
||||
<Rule Id="CA2236" Action="Warning" />
|
||||
<Rule Id="CA2237" Action="Warning" />
|
||||
<Rule Id="CA2238" Action="Warning" />
|
||||
<Rule Id="CA2240" Action="Warning" />
|
||||
<Rule Id="CA2241" Action="Warning" />
|
||||
<Rule Id="CA2242" Action="Warning" />
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp" RuleNamespace="Microsoft.CodeAnalysis.CSharp">
|
||||
<Rule Id="AD0001" Action="None" />
|
||||
<Rule Id="CS0078" Action="None" />
|
||||
<Rule Id="CS0105" Action="None" />
|
||||
<Rule Id="CS0108" Action="None" />
|
||||
<Rule Id="CS0109" Action="None" />
|
||||
<Rule Id="CS0114" Action="None" />
|
||||
<Rule Id="CS0162" Action="None" />
|
||||
<Rule Id="CS0164" Action="None" />
|
||||
<Rule Id="CS0168" Action="None" />
|
||||
<Rule Id="CS0183" Action="None" />
|
||||
<Rule Id="CS0184" Action="None" />
|
||||
<Rule Id="CS0197" Action="None" />
|
||||
<Rule Id="CS0219" Action="None" />
|
||||
<Rule Id="CS0251" Action="None" />
|
||||
<Rule Id="CS0252" Action="None" />
|
||||
<Rule Id="CS0253" Action="None" />
|
||||
<Rule Id="CS0278" Action="None" />
|
||||
<Rule Id="CS0279" Action="None" />
|
||||
<Rule Id="CS0280" Action="None" />
|
||||
<Rule Id="CS0282" Action="None" />
|
||||
<Rule Id="CS0419" Action="None" />
|
||||
<Rule Id="CS0420" Action="None" />
|
||||
<Rule Id="CS0435" Action="None" />
|
||||
<Rule Id="CS0436" Action="None" />
|
||||
<Rule Id="CS0437" Action="None" />
|
||||
<Rule Id="CS0440" Action="None" />
|
||||
<Rule Id="CS0458" Action="None" />
|
||||
<Rule Id="CS0464" Action="None" />
|
||||
<Rule Id="CS0465" Action="None" />
|
||||
<Rule Id="CS0469" Action="None" />
|
||||
<Rule Id="CS0472" Action="None" />
|
||||
<Rule Id="CS0473" Action="None" />
|
||||
<Rule Id="CS0612" Action="None" />
|
||||
<Rule Id="CS0618" Action="None" />
|
||||
<Rule Id="CS0626" Action="None" />
|
||||
<Rule Id="CS0628" Action="None" />
|
||||
<Rule Id="CS0642" Action="None" />
|
||||
<Rule Id="CS0652" Action="None" />
|
||||
<Rule Id="CS0657" Action="None" />
|
||||
<Rule Id="CS0658" Action="None" />
|
||||
<Rule Id="CS0659" Action="None" />
|
||||
<Rule Id="CS0660" Action="None" />
|
||||
<Rule Id="CS0661" Action="None" />
|
||||
<Rule Id="CS0665" Action="None" />
|
||||
<Rule Id="CS0672" Action="None" />
|
||||
<Rule Id="CS0675" Action="None" />
|
||||
<Rule Id="CS0684" Action="None" />
|
||||
<Rule Id="CS0693" Action="None" />
|
||||
<Rule Id="CS0728" Action="None" />
|
||||
<Rule Id="CS0809" Action="None" />
|
||||
<Rule Id="CS0811" Action="None" />
|
||||
<Rule Id="CS0824" Action="None" />
|
||||
<Rule Id="CS1030" Action="None" />
|
||||
<Rule Id="CS1058" Action="None" />
|
||||
<Rule Id="CS1062" Action="None" />
|
||||
<Rule Id="CS1064" Action="None" />
|
||||
<Rule Id="CS1066" Action="None" />
|
||||
<Rule Id="CS1072" Action="None" />
|
||||
<Rule Id="CS1522" Action="None" />
|
||||
<Rule Id="CS1570" Action="None" />
|
||||
<Rule Id="CS1571" Action="None" />
|
||||
<Rule Id="CS1572" Action="None" />
|
||||
<Rule Id="CS1573" Action="None" />
|
||||
<Rule Id="CS1574" Action="None" />
|
||||
<Rule Id="CS1580" Action="None" />
|
||||
<Rule Id="CS1581" Action="None" />
|
||||
<Rule Id="CS1584" Action="None" />
|
||||
<Rule Id="CS1587" Action="None" />
|
||||
<Rule Id="CS1589" Action="None" />
|
||||
<Rule Id="CS1590" Action="None" />
|
||||
<Rule Id="CS1591" Action="None" />
|
||||
<Rule Id="CS1592" Action="None" />
|
||||
<Rule Id="CS1616" Action="None" />
|
||||
<Rule Id="CS1633" Action="None" />
|
||||
<Rule Id="CS1634" Action="None" />
|
||||
<Rule Id="CS1635" Action="None" />
|
||||
<Rule Id="CS1645" Action="None" />
|
||||
<Rule Id="CS1658" Action="None" />
|
||||
<Rule Id="CS1668" Action="None" />
|
||||
<Rule Id="CS1685" Action="None" />
|
||||
<Rule Id="CS1687" Action="None" />
|
||||
<Rule Id="CS1690" Action="None" />
|
||||
<Rule Id="CS1692" Action="None" />
|
||||
<Rule Id="CS1695" Action="None" />
|
||||
<Rule Id="CS1696" Action="None" />
|
||||
<Rule Id="CS1697" Action="None" />
|
||||
<Rule Id="CS1700" Action="None" />
|
||||
<Rule Id="CS1701" Action="None" />
|
||||
<Rule Id="CS1702" Action="None" />
|
||||
<Rule Id="CS1710" Action="None" />
|
||||
<Rule Id="CS1711" Action="None" />
|
||||
<Rule Id="CS1712" Action="None" />
|
||||
<Rule Id="CS1717" Action="None" />
|
||||
<Rule Id="CS1718" Action="None" />
|
||||
<Rule Id="CS1720" Action="None" />
|
||||
<Rule Id="CS1723" Action="None" />
|
||||
<Rule Id="CS1734" Action="None" />
|
||||
<Rule Id="CS1735" Action="None" />
|
||||
<Rule Id="CS1762" Action="None" />
|
||||
<Rule Id="CS1927" Action="None" />
|
||||
<Rule Id="CS1956" Action="None" />
|
||||
<Rule Id="CS1957" Action="None" />
|
||||
<Rule Id="CS1974" Action="None" />
|
||||
<Rule Id="CS1981" Action="None" />
|
||||
<Rule Id="CS1998" Action="None" />
|
||||
<Rule Id="CS2002" Action="None" />
|
||||
<Rule Id="CS2008" Action="None" />
|
||||
<Rule Id="CS2023" Action="None" />
|
||||
<Rule Id="CS2029" Action="None" />
|
||||
<Rule Id="CS2038" Action="None" />
|
||||
<Rule Id="CS3000" Action="None" />
|
||||
<Rule Id="CS3001" Action="None" />
|
||||
<Rule Id="CS3002" Action="None" />
|
||||
<Rule Id="CS3003" Action="None" />
|
||||
<Rule Id="CS3005" Action="None" />
|
||||
<Rule Id="CS3006" Action="None" />
|
||||
<Rule Id="CS3007" Action="None" />
|
||||
<Rule Id="CS3008" Action="None" />
|
||||
<Rule Id="CS3009" Action="None" />
|
||||
<Rule Id="CS3010" Action="None" />
|
||||
<Rule Id="CS3011" Action="None" />
|
||||
<Rule Id="CS3012" Action="None" />
|
||||
<Rule Id="CS3013" Action="None" />
|
||||
<Rule Id="CS3014" Action="None" />
|
||||
<Rule Id="CS3015" Action="None" />
|
||||
<Rule Id="CS3016" Action="None" />
|
||||
<Rule Id="CS3017" Action="None" />
|
||||
<Rule Id="CS3018" Action="None" />
|
||||
<Rule Id="CS3019" Action="None" />
|
||||
<Rule Id="CS3021" Action="None" />
|
||||
<Rule Id="CS3022" Action="None" />
|
||||
<Rule Id="CS3023" Action="None" />
|
||||
<Rule Id="CS3024" Action="None" />
|
||||
<Rule Id="CS3026" Action="None" />
|
||||
<Rule Id="CS3027" Action="None" />
|
||||
<Rule Id="CS4014" Action="None" />
|
||||
<Rule Id="CS4024" Action="None" />
|
||||
<Rule Id="CS4025" Action="None" />
|
||||
<Rule Id="CS4026" Action="None" />
|
||||
<Rule Id="CS7033" Action="None" />
|
||||
<Rule Id="CS7035" Action="None" />
|
||||
<Rule Id="CS7080" Action="None" />
|
||||
<Rule Id="CS7081" Action="None" />
|
||||
<Rule Id="CS7082" Action="None" />
|
||||
<Rule Id="CS7090" Action="None" />
|
||||
<Rule Id="CS7095" Action="None" />
|
||||
<Rule Id="CS8001" Action="None" />
|
||||
<Rule Id="CS8002" Action="None" />
|
||||
<Rule Id="CS8009" Action="None" />
|
||||
<Rule Id="CS8012" Action="None" />
|
||||
<Rule Id="CS8018" Action="None" />
|
||||
<Rule Id="CS8019" Action="None" />
|
||||
<Rule Id="CS8020" Action="None" />
|
||||
<Rule Id="CS8021" Action="None" />
|
||||
<Rule Id="CS8029" Action="None" />
|
||||
<Rule Id="CS8032" Action="None" />
|
||||
<Rule Id="CS8033" Action="None" />
|
||||
<Rule Id="CS8034" Action="None" />
|
||||
<Rule Id="CS8040" Action="None" />
|
||||
<Rule Id="CS8073" Action="None" />
|
||||
<Rule Id="CS8094" Action="None" />
|
||||
<Rule Id="CS8105" Action="None" />
|
||||
<Rule Id="CS8123" Action="None" />
|
||||
<Rule Id="CS8305" Action="None" />
|
||||
<Rule Id="CS8321" Action="None" />
|
||||
<Rule Id="CS8359" Action="None" />
|
||||
<Rule Id="CS8360" Action="None" />
|
||||
<Rule Id="CS8371" Action="None" />
|
||||
<Rule Id="CS8383" Action="None" />
|
||||
<Rule Id="CS8387" Action="None" />
|
||||
<Rule Id="CS8424" Action="None" />
|
||||
<Rule Id="CS8425" Action="None" />
|
||||
<Rule Id="CS8509" Action="None" />
|
||||
<Rule Id="CS8512" Action="None" />
|
||||
<Rule Id="CS8513" Action="None" />
|
||||
<Rule Id="CS8519" Action="None" />
|
||||
<Rule Id="CS8520" Action="None" />
|
||||
<Rule Id="CS8597" Action="None" />
|
||||
<Rule Id="CS8600" Action="None" />
|
||||
<Rule Id="CS8601" Action="None" />
|
||||
<Rule Id="CS8602" Action="None" />
|
||||
<Rule Id="CS8603" Action="None" />
|
||||
<Rule Id="CS8604" Action="None" />
|
||||
<Rule Id="CS8605" Action="None" />
|
||||
<Rule Id="CS8607" Action="None" />
|
||||
<Rule Id="CS8608" Action="None" />
|
||||
<Rule Id="CS8609" Action="None" />
|
||||
<Rule Id="CS8610" Action="None" />
|
||||
<Rule Id="CS8611" Action="None" />
|
||||
<Rule Id="CS8612" Action="None" />
|
||||
<Rule Id="CS8613" Action="None" />
|
||||
<Rule Id="CS8614" Action="None" />
|
||||
<Rule Id="CS8615" Action="None" />
|
||||
<Rule Id="CS8616" Action="None" />
|
||||
<Rule Id="CS8617" Action="None" />
|
||||
<Rule Id="CS8618" Action="None" />
|
||||
<Rule Id="CS8619" Action="None" />
|
||||
<Rule Id="CS8620" Action="None" />
|
||||
<Rule Id="CS8621" Action="None" />
|
||||
<Rule Id="CS8622" Action="None" />
|
||||
<Rule Id="CS8624" Action="None" />
|
||||
<Rule Id="CS8625" Action="None" />
|
||||
<Rule Id="CS8629" Action="None" />
|
||||
<Rule Id="CS8631" Action="None" />
|
||||
<Rule Id="CS8632" Action="None" />
|
||||
<Rule Id="CS8633" Action="None" />
|
||||
<Rule Id="CS8634" Action="None" />
|
||||
<Rule Id="CS8643" Action="None" />
|
||||
<Rule Id="CS8644" Action="None" />
|
||||
<Rule Id="CS8645" Action="None" />
|
||||
<Rule Id="CS8655" Action="None" />
|
||||
<Rule Id="CS8656" Action="None" />
|
||||
<Rule Id="CS8667" Action="None" />
|
||||
<Rule Id="CS8669" Action="None" />
|
||||
<Rule Id="CS8670" Action="None" />
|
||||
<Rule Id="CS8714" Action="None" />
|
||||
<Rule Id="CS8762" Action="None" />
|
||||
<Rule Id="CS8763" Action="None" />
|
||||
<Rule Id="CS8764" Action="None" />
|
||||
<Rule Id="CS8765" Action="None" />
|
||||
<Rule Id="CS8766" Action="None" />
|
||||
<Rule Id="CS8767" Action="None" />
|
||||
<Rule Id="CS8768" Action="None" />
|
||||
<Rule Id="CS8769" Action="None" />
|
||||
<Rule Id="CS8770" Action="None" />
|
||||
<Rule Id="CS8774" Action="None" />
|
||||
<Rule Id="CS8775" Action="None" />
|
||||
<Rule Id="CS8776" Action="None" />
|
||||
<Rule Id="CS8777" Action="None" />
|
||||
<Rule Id="CS8784" Action="None" />
|
||||
<Rule Id="CS8785" Action="None" />
|
||||
<Rule Id="CS8793" Action="None" />
|
||||
<Rule Id="CS8794" Action="None" />
|
||||
<Rule Id="CS8819" Action="None" />
|
||||
</Rules>
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp.Features" RuleNamespace="Microsoft.CodeAnalysis.CSharp.Features">
|
||||
<Rule Id="IDE0001" Action="None" />
|
||||
<Rule Id="IDE0002" Action="None" />
|
||||
<Rule Id="IDE0003" Action="None" />
|
||||
<Rule Id="IDE0003WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0004" Action="None" />
|
||||
<Rule Id="IDE0004WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0005" Action="None" />
|
||||
<Rule Id="IDE0007" Action="None" />
|
||||
<Rule Id="IDE0007WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0008" Action="None" />
|
||||
<Rule Id="IDE0008WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0009" Action="None" />
|
||||
<Rule Id="IDE0009WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0010" Action="None" />
|
||||
<Rule Id="IDE0010WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0011" Action="None" />
|
||||
<Rule Id="IDE0011WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0016" Action="None" />
|
||||
<Rule Id="IDE0016WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0017" Action="None" />
|
||||
<Rule Id="IDE0017WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0018" Action="None" />
|
||||
<Rule Id="IDE0018WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0019" Action="None" />
|
||||
<Rule Id="IDE0019WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0020" Action="None" />
|
||||
<Rule Id="IDE0020WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0021" Action="None" />
|
||||
<Rule Id="IDE0022" Action="None" />
|
||||
<Rule Id="IDE0023" Action="None" />
|
||||
<Rule Id="IDE0024" Action="None" />
|
||||
<Rule Id="IDE0025" Action="None" />
|
||||
<Rule Id="IDE0026" Action="None" />
|
||||
<Rule Id="IDE0027" Action="None" />
|
||||
<Rule Id="IDE0028" Action="None" />
|
||||
<Rule Id="IDE0028WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0029" Action="None" />
|
||||
<Rule Id="IDE0029WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0030" Action="None" />
|
||||
<Rule Id="IDE0030WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0031" Action="None" />
|
||||
<Rule Id="IDE0031WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0032" Action="None" />
|
||||
<Rule Id="IDE0032WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0034" Action="None" />
|
||||
<Rule Id="IDE0034WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0036" Action="None" />
|
||||
<Rule Id="IDE0036WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0037" Action="None" />
|
||||
<Rule Id="IDE0037WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0038" Action="None" />
|
||||
<Rule Id="IDE0038WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0039" Action="None" />
|
||||
<Rule Id="IDE0039WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0040" Action="None" />
|
||||
<Rule Id="IDE0040WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0041" Action="None" />
|
||||
<Rule Id="IDE0041WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0042" Action="None" />
|
||||
<Rule Id="IDE0042WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0043" Action="None" />
|
||||
<Rule Id="IDE0045" Action="None" />
|
||||
<Rule Id="IDE0045WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0046" Action="None" />
|
||||
<Rule Id="IDE0046WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0047" Action="None" />
|
||||
<Rule Id="IDE0048" Action="None" />
|
||||
<Rule Id="IDE0048WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0049" Action="None" />
|
||||
<Rule Id="IDE0049WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0050" Action="None" />
|
||||
<Rule Id="IDE0050WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0051" Action="None" />
|
||||
<Rule Id="IDE0052" Action="None" />
|
||||
<Rule Id="IDE0053" Action="None" />
|
||||
<Rule Id="IDE0053WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0054" Action="None" />
|
||||
<Rule Id="IDE0054WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0056" Action="None" />
|
||||
<Rule Id="IDE0056WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0057" Action="None" />
|
||||
<Rule Id="IDE0057WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0058" Action="None" />
|
||||
<Rule Id="IDE0059" Action="None" />
|
||||
<Rule Id="IDE0060" Action="None" />
|
||||
<Rule Id="IDE0061" Action="None" />
|
||||
<Rule Id="IDE0062" Action="None" />
|
||||
<Rule Id="IDE0062WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0063" Action="None" />
|
||||
<Rule Id="IDE0063WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0064" Action="None" />
|
||||
<Rule Id="IDE0065" Action="None" />
|
||||
<Rule Id="IDE0066" Action="None" />
|
||||
<Rule Id="IDE0066WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0071" Action="None" />
|
||||
<Rule Id="IDE0071WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0072" Action="None" />
|
||||
<Rule Id="IDE0072WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0073" Action="None" />
|
||||
<Rule Id="IDE0073WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0074" Action="None" />
|
||||
<Rule Id="IDE0074WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0075" Action="None" />
|
||||
<Rule Id="IDE0075WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0076" Action="None" />
|
||||
<Rule Id="IDE0077" Action="None" />
|
||||
<Rule Id="IDE0080" Action="None" />
|
||||
<Rule Id="IDE0080WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE1005" Action="None" />
|
||||
<Rule Id="IDE1005WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE1006" Action="None" />
|
||||
<Rule Id="IDE1006WithoutSuggestion" Action="None" />
|
||||
<Rule Id="RE0001" Action="None" />
|
||||
<Rule Id="RE0001WithoutSuggestion" Action="None" />
|
||||
</Rules>
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Features" RuleNamespace="Microsoft.CodeAnalysis.Features">
|
||||
<Rule Id="IDE0033" Action="None" />
|
||||
<Rule Id="IDE0033WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0044" Action="None" />
|
||||
<Rule Id="IDE0044WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0055" Action="None" />
|
||||
<Rule Id="IDE0055WithoutSuggestion" Action="None" />
|
||||
<Rule Id="IDE0070" Action="None" />
|
||||
<Rule Id="IDE0070WithoutSuggestion" Action="None" />
|
||||
</Rules>
|
||||
<Rules AnalyzerId="Microsoft.CodeQuality.Analyzers" RuleNamespace="Microsoft.CodeQuality.Analyzers">
|
||||
<Rule Id="CA1010" Action="None" />
|
||||
<Rule Id="CA1028" Action="None" />
|
||||
<Rule Id="CA1031" Action="None" />
|
||||
<Rule Id="CA1034" Action="Info" />
|
||||
<Rule Id="CA1036" Action="Info" />
|
||||
<Rule Id="CA1034" Action="None" />
|
||||
<Rule Id="CA1036" Action="None" />
|
||||
<Rule Id="CA1054" Action="None" />
|
||||
<Rule Id="CA1062" Action="None" />
|
||||
<Rule Id="CA1063" Action="Info" />
|
||||
<Rule Id="CA1707" Action="Info" />
|
||||
<Rule Id="CA1063" Action="None" />
|
||||
<Rule Id="CA1707" Action="None" />
|
||||
<Rule Id="CA1710" Action="None" />
|
||||
<Rule Id="CA1714" Action="None" />
|
||||
<Rule Id="CA1716" Action="Info" />
|
||||
<Rule Id="CA1716" Action="None" />
|
||||
<Rule Id="CA1717" Action="None" />
|
||||
<Rule Id="CA1720" Action="Info" />
|
||||
<Rule Id="CA1721" Action="Info" />
|
||||
<Rule Id="CA1720" Action="None" />
|
||||
<Rule Id="CA1721" Action="None" />
|
||||
<Rule Id="CA1724" Action="None" />
|
||||
<Rule Id="CA1801" Action="None" />
|
||||
<Rule Id="CA1802" Action="Info" />
|
||||
<Rule Id="CA1812" Action="Info" />
|
||||
<Rule Id="CA1814" Action="Info" />
|
||||
<Rule Id="CA1802" Action="None" />
|
||||
<Rule Id="CA1812" Action="None" />
|
||||
<Rule Id="CA1814" Action="None" />
|
||||
<Rule Id="CA1815" Action="None" />
|
||||
<Rule Id="CA1819" Action="None" />
|
||||
<Rule Id="CA1822" Action="None" />
|
||||
<Rule Id="CA1823" Action="Info" />
|
||||
<Rule Id="CA1823" Action="None" />
|
||||
<Rule Id="CA2211" Action="None" />
|
||||
<Rule Id="CA2214" Action="Info" />
|
||||
<Rule Id="CA2214" Action="None" />
|
||||
<Rule Id="CA2225" Action="None" />
|
||||
<Rule Id="CA2227" Action="None" />
|
||||
</Rules>
|
||||
<Rules AnalyzerId="Microsoft.CodeQuality.CSharp.Analyzers" RuleNamespace="Microsoft.CodeQuality.CSharp.Analyzers">
|
||||
<Rule Id="CA1001" Action="Info" />
|
||||
<Rule Id="CA1032" Action="Info" />
|
||||
<Rule Id="CA1001" Action="None" />
|
||||
<Rule Id="CA1032" Action="None" />
|
||||
<Rule Id="CA2234" Action="None" />
|
||||
</Rules>
|
||||
<Rules AnalyzerId="Microsoft.NetCore.Analyzers" RuleNamespace="Microsoft.NetCore.Analyzers">
|
||||
|
|
@ -106,19 +406,21 @@
|
|||
<Rule Id="CA1304" Action="None" />
|
||||
<Rule Id="CA1305" Action="None" />
|
||||
<Rule Id="CA1307" Action="None" />
|
||||
<Rule Id="CA1816" Action="Info" />
|
||||
<Rule Id="CA2000" Action="Info" />
|
||||
<Rule Id="CA2213" Action="Info" />
|
||||
<Rule Id="CA2216" Action="Info" />
|
||||
<Rule Id="CA1816" Action="None" />
|
||||
<Rule Id="CA2000" Action="None" />
|
||||
<Rule Id="CA2213" Action="None" />
|
||||
<Rule Id="CA2216" Action="None" />
|
||||
</Rules>
|
||||
<Rules AnalyzerId="Microsoft.NetCore.CSharp.Analyzers" RuleNamespace="Microsoft.NetCore.CSharp.Analyzers">
|
||||
<Rule Id="CA1810" Action="Info" />
|
||||
<Rule Id="CA1810" Action="None" />
|
||||
<Rule Id="CA2207" Action="None" />
|
||||
</Rules>
|
||||
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
|
||||
<Rule Id="SA0001" Action="None" />
|
||||
<Rule Id="SA1009" Action="None" />
|
||||
<Rule Id="SA1101" Action="None" />
|
||||
<Rule Id="SA1108" Action="None" />
|
||||
<Rule Id="SA1111" Action="None" />
|
||||
<Rule Id="SA1116" Action="None" />
|
||||
<Rule Id="SA1117" Action="None" />
|
||||
<Rule Id="SA1118" Action="None" />
|
||||
|
|
@ -127,27 +429,29 @@
|
|||
<Rule Id="SA1128" Action="None" />
|
||||
<Rule Id="SA1132" Action="None" />
|
||||
<Rule Id="SA1133" Action="None" />
|
||||
<Rule Id="SA1200" Action="Hidden" />
|
||||
<Rule Id="SA1138" Action="Error" />
|
||||
<Rule Id="SA1200" Action="None" />
|
||||
<Rule Id="SA1201" Action="None" />
|
||||
<Rule Id="SA1202" Action="None" />
|
||||
<Rule Id="SA1203" Action="None" />
|
||||
<Rule Id="SA1204" Action="None" />
|
||||
<Rule Id="SA1214" Action="None" />
|
||||
<Rule Id="SA1300" Action="Info" />
|
||||
<Rule Id="SA1303" Action="Info" />
|
||||
<Rule Id="SA1307" Action="Info" />
|
||||
<Rule Id="SA1300" Action="None" />
|
||||
<Rule Id="SA1303" Action="None" />
|
||||
<Rule Id="SA1307" Action="None" />
|
||||
<Rule Id="SA1308" Action="None" />
|
||||
<Rule Id="SA1309" Action="None" />
|
||||
<Rule Id="SA1310" Action="Info" />
|
||||
<Rule Id="SA1311" Action="Info" />
|
||||
<Rule Id="SA1310" Action="None" />
|
||||
<Rule Id="SA1311" Action="None" />
|
||||
<Rule Id="SA1312" Action="None" />
|
||||
<Rule Id="SA1401" Action="None" />
|
||||
<Rule Id="SA1402" Action="None" />
|
||||
<Rule Id="SA1403" Action="Info" />
|
||||
<Rule Id="SA1403" Action="None" />
|
||||
<Rule Id="SA1404" Action="None" />
|
||||
<Rule Id="SA1407" Action="None" />
|
||||
<Rule Id="SA1408" Action="None" />
|
||||
<Rule Id="SA1413" Action="None" />
|
||||
<Rule Id="SA1500" Action="None" />
|
||||
<Rule Id="SA1500" Action="Warning" />
|
||||
<Rule Id="SA1501" Action="None" />
|
||||
<Rule Id="SA1502" Action="None" />
|
||||
<Rule Id="SA1503" Action="None" />
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
Tools/publish.cmd "$@"
|
||||
0
Tools/publish.cmd → publish.cmd
Executable file → Normal file
0
Tools/publish.cmd → publish.cmd
Executable file → Normal file
1
publish.sh
Normal file
1
publish.sh
Normal file
|
|
@ -0,0 +1 @@
|
|||
./publish.cmd "$@"
|
||||
|
|
@ -2,10 +2,15 @@
|
|||
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
|
||||
"settings": {
|
||||
"indentation": {
|
||||
"indentationSize": 2
|
||||
"tabSize": 4,
|
||||
"useTabs": false,
|
||||
"indentationSize": 4
|
||||
},
|
||||
"orderingRules": {
|
||||
"usingDirectivesPlacement": "outsideNamespace"
|
||||
},
|
||||
"layoutRules": {
|
||||
"newlineAtEndOfFile": "require"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue