-
Notifications
You must be signed in to change notification settings - Fork 155
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
Custom ruleset.xml #417
Comments
Yes, it can, with an extra plugin. See https://github.com/jborgers/sonar-pmd-custom |
@jborgers |
Hi @Zempik You are welcome. To support other languages, sonar-pmd plugin will have to be extended. It used to support only Java and we extended it for Kotlin. I guess that should not be too hard. What is the language? sonar-pmd-custom was actually only used for our custom jpinpoint-rules and that's why we made it specific. But you can make one for your own custom ruleset easily by replacing the jpinpoint-rules properties/files with your own. The readme files should help. |
@jborgers |
Hi,
I am really having a hard time finding an answer is it possible to define a custom ruleset file for the PMD plugin?
We are running the PMD plugin in Intellij and we have defined a custom file with some rules reconfigured there. Can this be applied also to the SonarCube PMD plugin?
Big thanks in advance.
The text was updated successfully, but these errors were encountered: