After migrating maven-checkstyle-plugin
to SonarQube, I face some oddity how line feeds and tab chars are transfered.
Back in my Maven build I had the following substantial rules:
<module name="Checker">
<property name="fileExtensions" value="java, xml"/>
<!-- forbid dos/windows lf -->
<module name="RegexpMultiline">
<property name="format" value="\r\n" />
<property name="message" value="Do not use Windows line endings."/>
</module>
<!-- forbid tab character -->
<module name="FileTabCharacter">
<property name="eachLine" value="true" />
</module>
</module>
While checking the SonarQube report I don't see these violations, where they should be. What am I doing wrong here?
PS: SonarQube got this snippet as configured QG/QP.