I installed the Checkstyle plugin and added a custom rule based on a Checkstyle template. The regular expression for this rule is ^[a-z][a-z0-9]*(?:[a-zA-Z0-9]+[a-z0-9]*[A-Z][a-z0-9]*)*$
. After applying this rule, I encountered two issues:
- The same issue is reported multiple times (11 times) for the same location.
- After synchronizing this rule to IntelliJ IDEA using SonarLint, the sonarlint cannot detect the issue. However, the issue is reported when the scan results are synchronized to SonarQube using SonarScanner.