Can we write sonar custom rule for .jsp files if possible then how?

How can we write sonar custom rule for jsp files?

Hey there.

There is no API available to write custom rules for JSP files

1 Like

Hello Colin thanks for your response.

Are there any other ways to write custom rules for JSP files in Sonar? I have tried overriding the extensions of the sonar-xml-library (GitHub - SonarSource/sonar-xml at 1.5.1.1452) and created a quality profile for the JSP language. However, Iā€™m encountering an issue with the sonar-find-bugs plugin, which prevents me from running my JSP rules simultaneously. In other words, I can only use one of them at a time in the Sonar ā†’ extension folder.