Skip to content

Commit 5b1d94a

Browse files
committed
Add rules file
1 parent b7d3bc4 commit 5b1d94a

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RuleSet Name="Rules" Description=" " ToolsVersion="14.0">
3+
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp.Features" RuleNamespace="Microsoft.CodeAnalysis.CSharp.Features">
4+
<Rule Id="IDE0001" Action="Warning" />
5+
<Rule Id="IDE0003" Action="None" />
6+
</Rules>
7+
</RuleSet>

StyleCop.Analyzers.Status.Generator/StyleCop.Analyzers.Status.Generator.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<DefineConstants>DEBUG;TRACE</DefineConstants>
2222
<ErrorReport>prompt</ErrorReport>
2323
<WarningLevel>4</WarningLevel>
24+
<CodeAnalysisRuleSet>Rules.ruleset</CodeAnalysisRuleSet>
2425
</PropertyGroup>
2526
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2627
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -118,6 +119,7 @@
118119
<ItemGroup>
119120
<None Include="App.config" />
120121
<None Include="packages.config" />
122+
<None Include="Rules.ruleset" />
121123
</ItemGroup>
122124
<ItemGroup>
123125
<Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.1.0.0-rc2\tools\analyzers\C#\Microsoft.CodeAnalysis.Analyzers.dll" />

0 commit comments

Comments
 (0)