You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/01/18 15:12:28 UTC

[23/50] ignite git commit: ruleset added

ruleset added


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/4307355a
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/4307355a
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/4307355a

Branch: refs/heads/ignite-2324
Commit: 4307355ac6a871af32a8f6f321c0b5e645c26284
Parents: b9d9e7d
Author: Pavel Tupitsyn <pt...@gridgain.com>
Authored: Wed Jan 13 18:55:28 2016 +0300
Committer: Pavel Tupitsyn <pt...@gridgain.com>
Committed: Wed Jan 13 18:55:28 2016 +0300

----------------------------------------------------------------------
 .../Apache.Ignite.Core.csproj                   |   6 +-
 .../Apache.Ignite.Core.ruleset                  | 123 +++++++++++++++++++
 2 files changed, 128 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/4307355a/modules/platforms/dotnet/Apache.Ignite.Core/Apache.Ignite.Core.csproj
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Apache.Ignite.Core.csproj b/modules/platforms/dotnet/Apache.Ignite.Core/Apache.Ignite.Core.csproj
index 8dd0d33..7de8330 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Apache.Ignite.Core.csproj
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Apache.Ignite.Core.csproj
@@ -19,7 +19,7 @@
     <DefineConstants>DEBUG;CODE_ANALYSIS</DefineConstants>
     <DocumentationFile>bin\x64\Debug\Apache.Ignite.Core.XML</DocumentationFile>
     <RunCodeAnalysis>true</RunCodeAnalysis>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+    <CodeAnalysisRuleSet>Apache.Ignite.Core.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
     <PlatformTarget>x64</PlatformTarget>
@@ -27,6 +27,7 @@
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <Optimize>true</Optimize>
     <DocumentationFile>bin\x64\Release\Apache.Ignite.Core.XML</DocumentationFile>
+    <CodeAnalysisRuleSet>Apache.Ignite.Core.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
     <PlatformTarget>x86</PlatformTarget>
@@ -34,6 +35,7 @@
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <DefineConstants>DEBUG;CODE_ANALYSIS</DefineConstants>
     <DocumentationFile>bin\x86\Debug\Apache.Ignite.Core.XML</DocumentationFile>
+    <CodeAnalysisRuleSet>Apache.Ignite.Core.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
     <PlatformTarget>x86</PlatformTarget>
@@ -41,6 +43,7 @@
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <Optimize>true</Optimize>
     <DocumentationFile>bin\x86\Release\Apache.Ignite.Core.XML</DocumentationFile>
+    <CodeAnalysisRuleSet>Apache.Ignite.Core.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <PropertyGroup>
     <SignAssembly>true</SignAssembly>
@@ -399,6 +402,7 @@
     </EmbeddedResource>
   </ItemGroup>
   <ItemGroup>
+    <None Include="Apache.Ignite.Core.ruleset" />
     <None Include="Apache.Ignite.Core.snk" />
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

http://git-wip-us.apache.org/repos/asf/ignite/blob/4307355a/modules/platforms/dotnet/Apache.Ignite.Core/Apache.Ignite.Core.ruleset
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Apache.Ignite.Core.ruleset b/modules/platforms/dotnet/Apache.Ignite.Core/Apache.Ignite.Core.ruleset
new file mode 100644
index 0000000..ba6c8e6
--- /dev/null
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Apache.Ignite.Core.ruleset
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RuleSet Name="Rules for Apache.Ignite.Core" Description="Code analysis rules for Apache.Ignite.Core.csproj." ToolsVersion="14.0">
+  <IncludeAll Action="Warning" />
+  <Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
+    <Rule Id="CA1502" Action="None" />
+    <Rule Id="CA1506" Action="None" />
+  </Rules>
+  <Rules AnalyzerId="SonarLint.CSharp" RuleNamespace="SonarLint.CSharp">
+    <Rule Id="S1066" Action="None" />
+    <Rule Id="S1067" Action="None" />
+    <Rule Id="S107" Action="None" />
+    <Rule Id="S108" Action="None" />
+    <Rule Id="S1116" Action="None" />
+    <Rule Id="S1117" Action="None" />
+    <Rule Id="S1118" Action="None" />
+    <Rule Id="S1121" Action="None" />
+    <Rule Id="S1125" Action="None" />
+    <Rule Id="S1134" Action="None" />
+    <Rule Id="S1135" Action="None" />
+    <Rule Id="S1145" Action="None" />
+    <Rule Id="S1155" Action="None" />
+    <Rule Id="S1172" Action="None" />
+    <Rule Id="S1186" Action="None" />
+    <Rule Id="S122" Action="None" />
+    <Rule Id="S1226" Action="None" />
+    <Rule Id="S1244" Action="None" />
+    <Rule Id="S125" Action="None" />
+    <Rule Id="S127" Action="None" />
+    <Rule Id="S131" Action="None" />
+    <Rule Id="S1313" Action="None" />
+    <Rule Id="S1449" Action="None" />
+    <Rule Id="S1479" Action="None" />
+    <Rule Id="S1481" Action="None" />
+    <Rule Id="S1541" Action="None" />
+    <Rule Id="S1643" Action="None" />
+    <Rule Id="S1656" Action="None" />
+    <Rule Id="S1659" Action="None" />
+    <Rule Id="S1697" Action="None" />
+    <Rule Id="S1699" Action="None" />
+    <Rule Id="S1764" Action="None" />
+    <Rule Id="S1848" Action="None" />
+    <Rule Id="S1854" Action="None" />
+    <Rule Id="S1862" Action="None" />
+    <Rule Id="S1871" Action="None" />
+    <Rule Id="S1905" Action="None" />
+    <Rule Id="S1939" Action="None" />
+    <Rule Id="S1940" Action="None" />
+    <Rule Id="S1994" Action="None" />
+    <Rule Id="S2123" Action="None" />
+    <Rule Id="S2219" Action="None" />
+    <Rule Id="S2223" Action="None" />
+    <Rule Id="S2225" Action="None" />
+    <Rule Id="S2228" Action="None" />
+    <Rule Id="S2234" Action="None" />
+    <Rule Id="S2275" Action="None" />
+    <Rule Id="S2290" Action="None" />
+    <Rule Id="S2291" Action="None" />
+    <Rule Id="S2292" Action="None" />
+    <Rule Id="S2306" Action="None" />
+    <Rule Id="S2326" Action="None" />
+    <Rule Id="S2328" Action="None" />
+    <Rule Id="S2333" Action="None" />
+    <Rule Id="S2344" Action="None" />
+    <Rule Id="S2345" Action="None" />
+    <Rule Id="S2346" Action="None" />
+    <Rule Id="S2360" Action="None" />
+    <Rule Id="S2368" Action="None" />
+    <Rule Id="S2372" Action="None" />
+    <Rule Id="S2376" Action="None" />
+    <Rule Id="S2387" Action="None" />
+    <Rule Id="S2437" Action="None" />
+    <Rule Id="S2486" Action="None" />
+    <Rule Id="S2551" Action="None" />
+    <Rule Id="S2674" Action="None" />
+    <Rule Id="S2681" Action="None" />
+    <Rule Id="S2692" Action="None" />
+    <Rule Id="S2696" Action="None" />
+    <Rule Id="S2737" Action="None" />
+    <Rule Id="S2743" Action="None" />
+    <Rule Id="S2757" Action="None" />
+    <Rule Id="S2758" Action="None" />
+    <Rule Id="S2761" Action="None" />
+    <Rule Id="S2930" Action="None" />
+    <Rule Id="S2931" Action="None" />
+    <Rule Id="S2933" Action="None" />
+    <Rule Id="S2934" Action="None" />
+    <Rule Id="S2952" Action="None" />
+    <Rule Id="S2953" Action="None" />
+    <Rule Id="S2955" Action="None" />
+    <Rule Id="S2971" Action="None" />
+    <Rule Id="S2995" Action="None" />
+    <Rule Id="S2996" Action="None" />
+    <Rule Id="S2997" Action="None" />
+    <Rule Id="S3005" Action="None" />
+    <Rule Id="S3052" Action="None" />
+    <Rule Id="S3168" Action="None" />
+    <Rule Id="S3169" Action="None" />
+    <Rule Id="S3172" Action="None" />
+    <Rule Id="S3215" Action="None" />
+    <Rule Id="S3216" Action="None" />
+    <Rule Id="S3217" Action="None" />
+    <Rule Id="S3218" Action="None" />
+    <Rule Id="S3220" Action="None" />
+    <Rule Id="S3234" Action="None" />
+    <Rule Id="S3235" Action="None" />
+    <Rule Id="S3236" Action="None" />
+    <Rule Id="S3237" Action="None" />
+    <Rule Id="S3240" Action="None" />
+    <Rule Id="S3244" Action="None" />
+    <Rule Id="S3246" Action="None" />
+    <Rule Id="S3249" Action="None" />
+    <Rule Id="S3253" Action="None" />
+    <Rule Id="S3254" Action="None" />
+    <Rule Id="S3262" Action="None" />
+    <Rule Id="S3263" Action="None" />
+    <Rule Id="S3376" Action="None" />
+    <Rule Id="S3397" Action="None" />
+    <Rule Id="S3427" Action="None" />
+    <Rule Id="S818" Action="None" />
+    <Rule Id="S907" Action="None" />
+    <Rule Id="S927" Action="None" />
+  </Rules>
+</RuleSet>
\ No newline at end of file