Skip to content

Commit

Permalink
Merge pull request #9 from Soloplan/2020.1.3
Browse files Browse the repository at this point in the history
Update ReSharper issue definitions to 2020.1.3
  • Loading branch information
steffen-wilke authored Jun 5, 2020
2 parents be425fc + e478d6c commit f176164
Show file tree
Hide file tree
Showing 3 changed files with 353 additions and 151 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ A SonarQube plugin for the ReSharper Command Line Tools.

## Description
This plugin enables the analysis of C# and VisualBasic.NET source files contained in .NET projects using the output of the InspectCode [JetBrains ReSharper Command Line Tool](https://www.jetbrains.com/resharper/features/command-line.html).
* Supports the most recent version of the [JetBrains ReSharper Command Line Tools](https://www.jetbrains.com/resharper/download/index.html#section=resharper-clt) (at least version 2018.2.2)
* Compatible with [SonarQube 6.7.x (LTS)](https://www.sonarqube.org/downloads/)
* Supports the most recent version of the [JetBrains ReSharper Command Line Tools](https://www.jetbrains.com/resharper/download/index.html#section=resharper-clt) (at least version 2020.1.3)
* Compatible with [SonarQube 7.9.x (LTS)](https://www.sonarqube.org/downloads/)
* Compatible with the [SonarC# Plugin](https://docs.sonarqube.org/pages/viewpage.action?pageId=1441900) in version 7.5
* Compatible with the [SonarVB Plugin (Visual Basic .NET)](https://docs.sonarqube.org/display/PLUG/SonarVB) in version 5.2

Expand Down Expand Up @@ -37,5 +37,13 @@ A more in-depth guide on how to analyze projects that are built using MSBuild ca
It's possible to override the SonarSeverity for particular rules by providing a custom `sonarqube_rule_overrides.xml`. This can be either located in the base folder of the application or at a
location specified with the environment variable: `SONAR_PLUGIN_INSPECTCODE_OVERRIDEFILE=C:\config\my-sonar-inspectcode-rule-override.xml`.

## Updating the plugin for a new ReSharper version
The following command can be used to dump the rules into an XML file that is used by this plugin.
```bat
inspectcode.exe --dumpIssuesTypes --output="inspectcode_issue_definitions.xml" --no-buildin-settings
```

After dumping the new ruleset, it is mandatory to check all the new rules and adjust the `sonarqube_rule_overrides.xml` accordingly, to account for any rules that should be categorized differently by default.

## License
This project is licensed under the Apache License 2.0 - see the [LICENSE](./LICENSE) file for details.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<groupId>com.soloplan.oss.sonarqube.plugin.resharper.clt</groupId>
<artifactId>resharper-clt-plugin</artifactId>
<packaging>sonar-plugin</packaging>
<version>1.0.0-RC4</version>
<version>1.0.0.202013</version>

<name>ReSharper command line tools plugin for SonarQube 6.7.x LTS</name>
<name>ReSharper command line tools plugin for SonarQube 7.9.x LTS</name>
<description>Enables the use of ReSharper command line tools with rules on C# and VB.NET code.</description>
<url>https://www.github.com/Soloplan/sonarqube-resharper-clt</url>
<inceptionYear>2018</inceptionYear>
Expand All @@ -23,7 +23,7 @@
<!-- Identifies the plugin within SonarQube and is used for translation of string resources -->
<sonar.pluginName>ReSharperCLT</sonar.pluginName>
<sonar.pluginClass>com.soloplan.oss.sonarqube.plugin.resharper.clt.ReSharperCltPlugin</sonar.pluginClass>
<sonar.apiVersion>6.7.1</sonar.apiVersion>
<sonar.apiVersion>7.9</sonar.apiVersion>
<sonar.sources>src/main/java</sonar.sources>
</properties>

Expand Down
Loading

0 comments on commit f176164

Please sign in to comment.