This example demonstrates how to write Custom Rules for SonarJava.
If you are using SonarQube 8.9 LTS (latest release), use the following command to build it without any dependency to the current project status:
mvn clean install
For more details about how to write custom rules, please refer to the official tutorial, Writing Custom Java Rules 101.
The GNU LGPL 3.0 license of this GitHub repository does not apply in the java-custom-rules-example
directory.
All contents under the java-custom-rules-example
directory are licensed under the more permissive MIT No Attribution license.