Skip to content

Commit

Permalink
SONARCS-594 9 new rules by embedding SonarAnalyzer for C# 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolkensteyn committed May 24, 2016
1 parent 1425fc9 commit 7a5bd89
Show file tree
Hide file tree
Showing 6 changed files with 596 additions and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
public class RoslynProfileExporter extends ProfileExporter {

private static final String SONARANALYZER_PARTIAL_REPO_KEY = "sonaranalyzer-cs";
private static final String SONARANALYZER_NUGET_VERSION = "1.11.0";
private static final String SONARANALYZER_NUGET_VERSION = "1.13.0";

private static final String ROSLYN_REPOSITORY_PREFIX = "roslyn.";

Expand Down
Binary file modified src/main/resources/SonarLint.Runner.zip
Binary file not shown.
40 changes: 40 additions & 0 deletions src/main/resources/org/sonar/plugins/csharp/profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
<repositoryKey>csharpsquid</repositoryKey>
<key>S1940</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S1125</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S2486</key>
Expand Down Expand Up @@ -235,6 +239,10 @@
<repositoryKey>csharpsquid</repositoryKey>
<key>S3427</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S3600</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S1006</key>
Expand All @@ -259,6 +267,10 @@
<repositoryKey>csharpsquid</repositoryKey>
<key>S3265</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S3459</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S1848</key>
Expand Down Expand Up @@ -295,6 +307,10 @@
<repositoryKey>csharpsquid</repositoryKey>
<key>S3251</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S1450</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S2372</key>
Expand All @@ -311,14 +327,26 @@
<repositoryKey>csharpsquid</repositoryKey>
<key>S2368</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S3603</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S1905</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S3440</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S1939</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S3610</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S3456</key>
Expand Down Expand Up @@ -419,6 +447,10 @@
<repositoryKey>csharpsquid</repositoryKey>
<key>S2761</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S3264</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S1144</key>
Expand Down Expand Up @@ -447,5 +479,13 @@
<repositoryKey>csharpsquid</repositoryKey>
<key>S2290</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S3597</key>
</rule>
<rule>
<repositoryKey>csharpsquid</repositoryKey>
<key>S3598</key>
</rule>
</rules>
</profile>
Loading

0 comments on commit 7a5bd89

Please sign in to comment.