-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option to include all analysis #6
Comments
Just to add some background: I understand you'd like to analyze |
Hi @BrightLight ,
I didn't check the registration and import source code, but the plugin imports issues for |
These are just disabled by default and depending on the project/company policy they should be enabled or not. Previously these types of rules were not imported at all, making them unavailable for tracking in SonarQube. This was noticeable due to the fact that we now export the ReSharper rules via InspectCode with --no-buildin-settings to make them even with the ReSharper default. Some rules (e.g. TabsAreDisallowed) changed in that process to "DO_NOT_SHOW" which made them disappear after an update to this plugin >= 1.0.0.202013. With this change we now support/provide C# rules with "DO_NOT_SHOW" severity because this is just a pre-set that the individual use could change and otherwise these rules would not even be available. Issue #6
At the moment all the imported rules are filtered by this predicate
resharper-clt-plugin/src/main/java/com/soloplan/oss/sonarqube/plugin/resharper/clt/rules/CSharpRulesDefinition.java
Lines 56 to 63 in 0dd7568
It'd be nice to have an option to disable this filter (except
hasValidIssueSeverity
andhasNonEmptyIssueDescription
) or add two options, something likeRule ID regex
andCategory ID regex
which will control thisresharper-clt-plugin/src/main/java/com/soloplan/oss/sonarqube/plugin/resharper/clt/predicates/InspectCodePredicates.java
Lines 111 to 113 in 0dd7568
resharper-clt-plugin/src/main/java/com/soloplan/oss/sonarqube/plugin/resharper/clt/predicates/InspectCodePredicates.java
Line 38 in 0dd7568
This may sound pretty insane, but the R# tools have more analytics than the SQ analyzers, plus R# is more robust at .csthml and .asp(x) parsing.
The text was updated successfully, but these errors were encountered: