Repository navigation
Expand file tree
/
Copy pathStyleCop.Analyzers.Internal.ruleset
More file actions
26 lines (26 loc) · 1.79 KB
/
Copy pathStyleCop.Analyzers.Internal.ruleset
File metadata and controls
26 lines (26 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="Rules for StyleCop.Analyzers internal-only projects" Description="Code analysis rules for StyleCop.Analyzers internal-only projects." ToolsVersion="14.0">
<Include Path="StyleCop.Analyzers.ruleset" Action="Default" />
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp" RuleNamespace="Microsoft.CodeAnalysis.CSharp">
<Rule Id="CS1573" Action="Hidden" />
<Rule Id="CS1591" Action="Hidden" />
<Rule Id="CS2008" Action="None" />
</Rules>
<Rules AnalyzerId="xunit.analyzers" RuleNamespace="xunit.analyzers">
<Rule Id="xUnit1004" Action="Info" />
<!-- Preserve the shared verifier's ConfigureAwait(false) convention. -->
<Rule Id="xUnit1030" Action="None" />
</Rules>
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
</Rules>
<Rules AnalyzerId="Microsoft.CodeAnalysis.PublicApiAnalyzers" RuleNamespace="Microsoft.CodeAnalysis.PublicApiAnalyzers">
<Rule Id="RS0016" Action="None" /> <!-- Add public types and members to the declared API -->
<Rule Id="RS0026" Action="None" /> <!-- Do not add multiple public overloads with optional parameters -->
<Rule Id="RS0037" Action="None" /> <!-- Enable tracking of nullability of reference types in the declared API -->
</Rules>
</RuleSet>