I am creating a new plugin for SonarQube which allows developers to perform static code analysis on ESQL code.
Using Maven I can build a shell of a plugin, which produces the JAR file which I can place in the correct folder in order for it to be added to SonarQube.
The next stage is to write the Java classes for the rules, however I am unsure on what and where these look like. I am using the example from the following GIT repository: https://github.com/SonarSource/sonar-examples/tree/master/plugins/sonar-reference-plugin
Do I simply create a new package with some classes? And how do I actually rules?