Skip to content

Commit

Permalink
Merge pull request #461 from sharwell/shared-ca-config
Browse files Browse the repository at this point in the history
Updated code analysis configuration
  • Loading branch information
sharwell committed Feb 9, 2015
2 parents 2c26ec9 + 5c66da6 commit d0c5333
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 76 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<Prefer32Bit>false</Prefer32Bit>
<DocumentationFile>bin\Debug\StyleCop.Analyzers.Test.xml</DocumentationFile>
<NoWarn>1591</NoWarn>
<CodeAnalysisRuleSet>StyleCop.Analyzers.Test.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet>..\StyleCop.Analyzers.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -38,7 +38,7 @@
<Prefer32Bit>false</Prefer32Bit>
<DocumentationFile>bin\Release\StyleCop.Analyzers.Test.xml</DocumentationFile>
<NoWarn>1591</NoWarn>
<CodeAnalysisRuleSet>StyleCop.Analyzers.Test.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet>..\StyleCop.Analyzers.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CodeAnalysis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
Expand Down Expand Up @@ -156,8 +156,10 @@
<Compile Include="Verifiers\DiagnosticVerifier.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\StyleCop.Analyzers.ruleset">
<Link>StyleCop.Analyzers.ruleset</Link>
</None>
<None Include="packages.config" />
<None Include="StyleCop.Analyzers.Test.ruleset" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\StyleCop.Analyzers\StyleCop.Analyzers.csproj">
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,21 @@
<Rule Id="CA2242" Action="Warning" />
</Rules>
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<Rule Id="SA1000" Action="Error" />
<Rule Id="SA1021" Action="Error" />
<Rule Id="SA1022" Action="Error" />
<Rule Id="SA1100" Action="Error" />
<Rule Id="SA1112" Action="Error" />
<Rule Id="SA1121" Action="Error" />
<Rule Id="SA1122" Action="Error" />
<Rule Id="SA1302" Action="Error" />
<Rule Id="SA1404" Action="Error" />
<Rule Id="SA1405" Action="Error" />
<Rule Id="SA1406" Action="Error" />
<Rule Id="SA1407" Action="Error" />
<Rule Id="SA1408" Action="Error" />
<Rule Id="SA1410" Action="Error" />
<Rule Id="SA1411" Action="Error" />
<Rule Id="SA1600" Action="None" />
</Rules>
</RuleSet>
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\StyleCop.Analyzers.xml</DocumentationFile>
<CodeAnalysisRuleSet>StyleCop.Analyzers.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet>..\StyleCop.Analyzers.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -33,7 +33,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\StyleCop.Analyzers.xml</DocumentationFile>
<CodeAnalysisRuleSet>StyleCop.Analyzers.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet>..\StyleCop.Analyzers.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
Expand Down Expand Up @@ -254,12 +254,14 @@
<None Include="..\..\build\keys\StyleCopAnalyzers.snk">
<Link>StyleCopAnalyzers.snk</Link>
</None>
<None Include="..\StyleCop.Analyzers.ruleset">
<Link>StyleCop.Analyzers.ruleset</Link>
</None>
<None Include="packages.config" />
<None Include="StyleCop.Analyzers.nuspec">
<SubType>Designer</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="StyleCop.Analyzers.ruleset" />
<None Include="tools\install.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
Expand Down

0 comments on commit d0c5333

Please sign in to comment.