sonar-checkstyle icon indicating copy to clipboard operation
sonar-checkstyle copied to clipboard

Checkstyle Sonar issue with Custom Language

Open amitbhoraniya opened this issue 5 years ago • 0 comments

I have extended checkstyle-checks for Gherkin language(.feature). I am able to scan my files using checkstyle-cli and checkstyle-eclipse plugin. Then I tried to extend it for sonar-checkstyle and able add rules in sonar qube server and can enable/disable it. But when I scan my project using sonar-scanner then sonar-checkstyle is not able to scan it.

When I debug it further, I found that CheckstyleSensor is only supporting Java Language. CheckstyleProfileExporter is also supporting only Java Language and checkstyle sonar repositories rules only.

So is there any way so that I can scan my custom files with checkstyle-sonar plugin?

Thanks in advance.

amitbhoraniya avatar Apr 11 '19 15:04 amitbhoraniya