nuget updates
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<Project>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,328 @@
|
||||
<Project>
|
||||
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" BeforeTargets="CoreCompile" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true'">
|
||||
<!-- PropertyGroup to compute global analyzer config file to be used -->
|
||||
<PropertyGroup>
|
||||
<!-- Set the default analysis mode, if not set by the user -->
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers>$(AnalysisLevelSuffix)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers)' == ''">$(AnalysisMode)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers>
|
||||
|
||||
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
|
||||
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
|
||||
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
|
||||
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers_WarnAsErrorSuffix>
|
||||
|
||||
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers Condition="'$(MicrosoftCodeAnalysisAnalyzersRulesVersion)' != ''">AnalysisLevel_$(MicrosoftCodeAnalysisAnalyzersRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers>
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers>
|
||||
|
||||
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzers Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzers)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzers>
|
||||
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzers Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzers)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzers>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzers)')">
|
||||
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzers)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersCorrectness" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelCorrectness)' != '' or '$(AnalysisModeCorrectness)' != '')">
|
||||
<!-- PropertyGroup to compute global analyzer config file to be used -->
|
||||
<PropertyGroup>
|
||||
<!-- Set the default analysis mode, if not set by the user -->
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness>$(AnalysisLevelSuffixCorrectness)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness)' == ''">$(AnalysisModeCorrectness)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness>
|
||||
|
||||
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
|
||||
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
|
||||
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
|
||||
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness_WarnAsErrorSuffix>
|
||||
|
||||
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersCorrectnessRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness Condition="'$(MicrosoftCodeAnalysisAnalyzersCorrectnessRulesVersion)' != ''">AnalysisLevelCorrectness_$(MicrosoftCodeAnalysisAnalyzersCorrectnessRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness>
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness>
|
||||
|
||||
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersCorrectness Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersCorrectness)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersCorrectness>
|
||||
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersCorrectness Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersCorrectness)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersCorrectness>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersCorrectness)')">
|
||||
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersCorrectness)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersLibrary" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelLibrary)' != '' or '$(AnalysisModeLibrary)' != '')">
|
||||
<!-- PropertyGroup to compute global analyzer config file to be used -->
|
||||
<PropertyGroup>
|
||||
<!-- Set the default analysis mode, if not set by the user -->
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary>$(AnalysisLevelSuffixLibrary)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary)' == ''">$(AnalysisModeLibrary)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary>
|
||||
|
||||
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
|
||||
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
|
||||
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
|
||||
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary_WarnAsErrorSuffix>
|
||||
|
||||
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersLibraryRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary Condition="'$(MicrosoftCodeAnalysisAnalyzersLibraryRulesVersion)' != ''">AnalysisLevelLibrary_$(MicrosoftCodeAnalysisAnalyzersLibraryRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary>
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary>
|
||||
|
||||
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersLibrary Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersLibrary)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersLibrary>
|
||||
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersLibrary Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersLibrary)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersLibrary>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersLibrary)')">
|
||||
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersLibrary)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMicrosoftCodeAnalysisCompatibility)' != '' or '$(AnalysisModeMicrosoftCodeAnalysisCompatibility)' != '')">
|
||||
<!-- PropertyGroup to compute global analyzer config file to be used -->
|
||||
<PropertyGroup>
|
||||
<!-- Set the default analysis mode, if not set by the user -->
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>$(AnalysisLevelSuffixMicrosoftCodeAnalysisCompatibility)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)' == ''">$(AnalysisModeMicrosoftCodeAnalysisCompatibility)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
|
||||
|
||||
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
|
||||
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
|
||||
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
|
||||
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility_WarnAsErrorSuffix>
|
||||
|
||||
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibilityRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility Condition="'$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibilityRulesVersion)' != ''">AnalysisLevelMicrosoftCodeAnalysisCompatibility_$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibilityRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
|
||||
|
||||
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
|
||||
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)')">
|
||||
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMicrosoftCodeAnalysisCorrectness)' != '' or '$(AnalysisModeMicrosoftCodeAnalysisCorrectness)' != '')">
|
||||
<!-- PropertyGroup to compute global analyzer config file to be used -->
|
||||
<PropertyGroup>
|
||||
<!-- Set the default analysis mode, if not set by the user -->
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>$(AnalysisLevelSuffixMicrosoftCodeAnalysisCorrectness)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)' == ''">$(AnalysisModeMicrosoftCodeAnalysisCorrectness)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
|
||||
|
||||
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
|
||||
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
|
||||
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
|
||||
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness_WarnAsErrorSuffix>
|
||||
|
||||
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectnessRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness Condition="'$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectnessRulesVersion)' != ''">AnalysisLevelMicrosoftCodeAnalysisCorrectness_$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectnessRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
|
||||
|
||||
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
|
||||
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)')">
|
||||
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMicrosoftCodeAnalysisDesign)' != '' or '$(AnalysisModeMicrosoftCodeAnalysisDesign)' != '')">
|
||||
<!-- PropertyGroup to compute global analyzer config file to be used -->
|
||||
<PropertyGroup>
|
||||
<!-- Set the default analysis mode, if not set by the user -->
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>$(AnalysisLevelSuffixMicrosoftCodeAnalysisDesign)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)' == ''">$(AnalysisModeMicrosoftCodeAnalysisDesign)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
|
||||
|
||||
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
|
||||
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
|
||||
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
|
||||
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign_WarnAsErrorSuffix>
|
||||
|
||||
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesignRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign Condition="'$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesignRulesVersion)' != ''">AnalysisLevelMicrosoftCodeAnalysisDesign_$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesignRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
|
||||
|
||||
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
|
||||
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)')">
|
||||
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMicrosoftCodeAnalysisDocumentation)' != '' or '$(AnalysisModeMicrosoftCodeAnalysisDocumentation)' != '')">
|
||||
<!-- PropertyGroup to compute global analyzer config file to be used -->
|
||||
<PropertyGroup>
|
||||
<!-- Set the default analysis mode, if not set by the user -->
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>$(AnalysisLevelSuffixMicrosoftCodeAnalysisDocumentation)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)' == ''">$(AnalysisModeMicrosoftCodeAnalysisDocumentation)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
|
||||
|
||||
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
|
||||
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
|
||||
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
|
||||
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation_WarnAsErrorSuffix>
|
||||
|
||||
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentationRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation Condition="'$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentationRulesVersion)' != ''">AnalysisLevelMicrosoftCodeAnalysisDocumentation_$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentationRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
|
||||
|
||||
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
|
||||
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)')">
|
||||
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMicrosoftCodeAnalysisLocalization)' != '' or '$(AnalysisModeMicrosoftCodeAnalysisLocalization)' != '')">
|
||||
<!-- PropertyGroup to compute global analyzer config file to be used -->
|
||||
<PropertyGroup>
|
||||
<!-- Set the default analysis mode, if not set by the user -->
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>$(AnalysisLevelSuffixMicrosoftCodeAnalysisLocalization)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)' == ''">$(AnalysisModeMicrosoftCodeAnalysisLocalization)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
|
||||
|
||||
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
|
||||
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
|
||||
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
|
||||
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization_WarnAsErrorSuffix>
|
||||
|
||||
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalizationRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization Condition="'$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalizationRulesVersion)' != ''">AnalysisLevelMicrosoftCodeAnalysisLocalization_$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalizationRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
|
||||
|
||||
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
|
||||
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)')">
|
||||
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMicrosoftCodeAnalysisPerformance)' != '' or '$(AnalysisModeMicrosoftCodeAnalysisPerformance)' != '')">
|
||||
<!-- PropertyGroup to compute global analyzer config file to be used -->
|
||||
<PropertyGroup>
|
||||
<!-- Set the default analysis mode, if not set by the user -->
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>$(AnalysisLevelSuffixMicrosoftCodeAnalysisPerformance)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)' == ''">$(AnalysisModeMicrosoftCodeAnalysisPerformance)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
|
||||
|
||||
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
|
||||
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
|
||||
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
|
||||
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance_WarnAsErrorSuffix>
|
||||
|
||||
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformanceRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance Condition="'$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformanceRulesVersion)' != ''">AnalysisLevelMicrosoftCodeAnalysisPerformance_$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformanceRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
|
||||
|
||||
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
|
||||
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)')">
|
||||
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMicrosoftCodeAnalysisReleaseTracking)' != '' or '$(AnalysisModeMicrosoftCodeAnalysisReleaseTracking)' != '')">
|
||||
<!-- PropertyGroup to compute global analyzer config file to be used -->
|
||||
<PropertyGroup>
|
||||
<!-- Set the default analysis mode, if not set by the user -->
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>$(AnalysisLevelSuffixMicrosoftCodeAnalysisReleaseTracking)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)' == ''">$(AnalysisModeMicrosoftCodeAnalysisReleaseTracking)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
|
||||
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
|
||||
|
||||
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
|
||||
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
|
||||
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
|
||||
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking_WarnAsErrorSuffix>
|
||||
|
||||
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTrackingRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking Condition="'$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTrackingRulesVersion)' != ''">AnalysisLevelMicrosoftCodeAnalysisReleaseTracking_$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTrackingRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
|
||||
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
|
||||
|
||||
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
|
||||
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)')">
|
||||
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!-- MSBuild properties to thread to the analyzers as options -->
|
||||
<ItemGroup>
|
||||
<CompilerVisibleProperty Include="TargetFramework" />
|
||||
<CompilerVisibleProperty Include="TargetPlatformMinVersion" />
|
||||
<CompilerVisibleProperty Include="UsingMicrosoftNETSdkWeb" />
|
||||
<CompilerVisibleProperty Include="ProjectTypeGuids" />
|
||||
<CompilerVisibleProperty Include="InvariantGlobalization" />
|
||||
<CompilerVisibleProperty Include="PlatformNeutralAssembly" />
|
||||
<CompilerVisibleProperty Include="EnforceExtendedAnalyzerRules" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- MSBuild item metadata to thread to the analyzers as options -->
|
||||
<PropertyGroup>
|
||||
<_SupportedPlatformList>@(SupportedPlatform, ',')</_SupportedPlatformList>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- MSBuild properties to thread to the analyzers as options -->
|
||||
<ItemGroup>
|
||||
<CompilerVisibleProperty Include="_SupportedPlatformList" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Target to add all 'EmbeddedResource' files with '.resx' extension as analyzer additional files -->
|
||||
<Target Name="AddAllResxFilesAsAdditionalFiles" BeforeTargets="CoreCompile" Condition="'@(EmbeddedResource)' != '' AND '$(SkipAddAllResxFilesAsAdditionalFiles)' != 'true'">
|
||||
<ItemGroup>
|
||||
<EmbeddedResourceWithResxExtension Include="@(EmbeddedResource)" Condition="'%(Extension)' == '.resx'" />
|
||||
<AdditionalFiles Include="%(EmbeddedResourceWithResxExtension.Identity)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!-- Workaround for https://github.com/dotnet/roslyn/issues/4655 -->
|
||||
<ItemGroup Condition="Exists('$(MSBuildProjectDirectory)\AnalyzerReleases.Shipped.md')" >
|
||||
<AdditionalFiles Include="AnalyzerReleases.Shipped.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="Exists('$(MSBuildProjectDirectory)\AnalyzerReleases.Unshipped.md')" >
|
||||
<AdditionalFiles Include="AnalyzerReleases.Unshipped.md" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,75 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '2.9.8' release with 'All' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '2.9.8' release with 'All' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '2.9.8' release with 'All' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '2.9.8' release with 'All' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,75 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '2.9.8' release with 'Default' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '2.9.8' release with 'Default' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '2.9.8' release with 'Default' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '2.9.8' release with 'Default' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,78 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '2.9.8' release with 'Minimum' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '2.9.8' release with 'Minimum' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = warning
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '2.9.8' release with 'Minimum' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '2.9.8' release with 'Minimum' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,135 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '2.9.8' release with 'None' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '2.9.8' release with 'None' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = none
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = none
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = none
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = none
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = none
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = none
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = none
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = none
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = none
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = none
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = none
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = none
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = none
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = none
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = none
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = none
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,135 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '2.9.8' release with 'None' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '2.9.8' release with 'None' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = none
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = none
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = none
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = none
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = none
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = none
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = none
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = none
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = none
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = none
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = none
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = none
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = none
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = none
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = none
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = none
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,78 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '2.9.8' release with 'Recommended' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '2.9.8' release with 'Recommended' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = warning
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '2.9.8' release with 'Recommended' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '2.9.8' release with 'Recommended' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.3' release with 'All' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.3.3' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.3' release with 'All' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.3.3' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = error
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = error
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = error
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = error
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.3' release with 'Default' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.3.3' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.3' release with 'Default' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.3.3' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = error
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = error
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = error
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = error
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,21 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.3' release with 'Minimum' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.3.3' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = warning
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.3' release with 'Minimum' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.3.3' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = error
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = error
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = error
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = error
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,135 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.3' release with 'None' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.3.3' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = none
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = none
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = none
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = none
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = none
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = none
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = none
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = none
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = none
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = none
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = none
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = none
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = none
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = none
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = none
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = none
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,135 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.3' release with 'None' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.3.3' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = none
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = none
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = none
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = none
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = none
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = none
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = none
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = none
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = none
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = none
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = none
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = none
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = none
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = none
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = none
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = none
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,21 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.3' release with 'Recommended' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.3.3' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = warning
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.3' release with 'Recommended' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.3.3' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = error
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = error
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = error
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = error
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,21 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.0' release with 'All' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.3.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.0' release with 'All' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.3.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = error
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = error
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = error
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,21 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.0' release with 'Default' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.3.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.0' release with 'Default' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.3.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = error
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = error
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = error
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,24 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.0' release with 'Minimum' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.3.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = warning
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.0' release with 'Minimum' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.3.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = error
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = error
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = error
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,135 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.0' release with 'None' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.3.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = none
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = none
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = none
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = none
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = none
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = none
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = none
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = none
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = none
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = none
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = none
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = none
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = none
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = none
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = none
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = none
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,135 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.0' release with 'None' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.3.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = none
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = none
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = none
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = none
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = none
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = none
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = none
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = none
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = none
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = none
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = none
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = none
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = none
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = none
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = none
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = none
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,24 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.0' release with 'Recommended' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.3.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = warning
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.3.0' release with 'Recommended' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.3.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = error
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = error
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = error
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,30 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.0.0' release with 'All' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.0.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.0.0' release with 'All' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.0.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,30 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.0.0' release with 'Default' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.0.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.0.0' release with 'Default' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.0.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,33 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.0.0' release with 'Minimum' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.0.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = warning
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.0.0' release with 'Minimum' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.0.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,135 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.0.0' release with 'None' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.0.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = none
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = none
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = none
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = none
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = none
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = none
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = none
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = none
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = none
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = none
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = none
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = none
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = none
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = none
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = none
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = none
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,135 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.0.0' release with 'None' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.0.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = none
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = none
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = none
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = none
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = none
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = none
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = none
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = none
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = none
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = none
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = none
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = none
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = none
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = none
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = none
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = none
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,33 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.0.0' release with 'Recommended' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '3.0.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = warning
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
@@ -0,0 +1,132 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '3.0.0' release with 'Recommended' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '3.0.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '4.3' release with 'All' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '4.3' release with 'All' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
@@ -0,0 +1,129 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '4.3' release with 'All' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '4.3' release with 'All' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = error
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = error
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = error
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = error
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = error
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = error
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '4.3' release with 'Default' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '4.3' release with 'Default' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
@@ -0,0 +1,129 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '4.3' release with 'Default' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '4.3' release with 'Default' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = error
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = error
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = error
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = error
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = error
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = error
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,15 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '4.3' release with 'Minimum' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '4.3' release with 'Minimum' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = warning
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = warning
|
||||
@@ -0,0 +1,129 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '4.3' release with 'Minimum' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '4.3' release with 'Minimum' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = error
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = error
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = error
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = error
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = error
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = error
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,135 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '4.3' release with 'None' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '4.3' release with 'None' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = none
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = none
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = none
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = none
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = none
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = none
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = none
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = none
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = none
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = none
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = none
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = none
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = none
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = none
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = none
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = none
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,135 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '4.3' release with 'None' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '4.3' release with 'None' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = none
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = none
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = none
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = none
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = none
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = none
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = none
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = none
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = none
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = none
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = none
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = none
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = none
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = none
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = none
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = none
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = none
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = none
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = none
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = none
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = none
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = none
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = none
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = none
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = none
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = none
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = none
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = none
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = none
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = none
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = none
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = none
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = none
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = none
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = none
|
||||
@@ -0,0 +1,15 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '4.3' release with 'Recommended' analysis mode
|
||||
# Description: Rules with enabled-by-default state from '4.3' release with 'Recommended' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = warning
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = warning
|
||||
@@ -0,0 +1,129 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# Rules from '4.3' release with 'Recommended' analysis mode escalated to 'error' severity
|
||||
# Description: Rules with enabled-by-default state from '4.3' release with 'Recommended' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -100
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = error
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = error
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = error
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = error
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = error
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = error
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = error
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = error
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = error
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = error
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = error
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = error
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = error
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = error
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = error
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = error
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = error
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = error
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = error
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = error
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = error
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = error
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = error
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = error
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = error
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = error
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = error
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = error
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = error
|
||||
|
||||
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
dotnet_diagnostic.RS2003.severity = error
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = error
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = error
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = error
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = error
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '2.9.8' release with 'All' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'All' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '2.9.8' release with 'All' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'All' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '2.9.8' release with 'Default' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'Default' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '2.9.8' release with 'Default' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'Default' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '2.9.8' release with 'Minimum' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'Minimum' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '2.9.8' release with 'Minimum' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'Minimum' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '2.9.8' release with 'None' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'None' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '2.9.8' release with 'None' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'None' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '2.9.8' release with 'Recommended' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'Recommended' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '2.9.8' release with 'Recommended' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'Recommended' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.3' release with 'All' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.3' release with 'All' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.3' release with 'Default' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.3' release with 'Default' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.3' release with 'Minimum' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.3' release with 'Minimum' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.3' release with 'None' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.3' release with 'None' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.3' release with 'Recommended' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.3' release with 'Recommended' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.0' release with 'All' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.0' release with 'All' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.0' release with 'Default' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.0' release with 'Default' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.0' release with 'Minimum' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.0' release with 'Minimum' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.0' release with 'None' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.0' release with 'None' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.0' release with 'Recommended' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.3.0' release with 'Recommended' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.0.0' release with 'All' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.0.0' release with 'All' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.0.0' release with 'Default' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.0.0' release with 'Default' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.0.0' release with 'Minimum' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.0.0' release with 'Minimum' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.0.0' release with 'None' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.0.0' release with 'None' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.0.0' release with 'Recommended' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '3.0.0' release with 'Recommended' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '4.3' release with 'All' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '4.3' release with 'All' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '4.3' release with 'All' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '4.3' release with 'All' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '4.3' release with 'Default' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '4.3' release with 'Default' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '4.3' release with 'Default' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '4.3' release with 'Default' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,9 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '4.3' release with 'Minimum' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '4.3' release with 'Minimum' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '4.3' release with 'Minimum' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '4.3' release with 'Minimum' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = error
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = error
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = error
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '4.3' release with 'None' analysis mode
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '4.3' release with 'None' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
@@ -0,0 +1,18 @@
|
||||
# NOTE: Requires **VS2019 16.7** or later
|
||||
|
||||
# 'Correctness' Rules from '4.3' release with 'None' analysis mode escalated to 'error' severity
|
||||
# Description: 'Correctness' Rules with enabled-by-default state from '4.3' release with 'None' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
|
||||
|
||||
is_global = true
|
||||
|
||||
global_level = -99
|
||||
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = none
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = none
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user