When I run the sonarlint
analysis, unwanted generated classes are also analyzed (R.java, classes generated by Dagger, etc.). It doesn't happen when I run the Android Studio Analyze -> Inspect code...
.
How can I specify a specific scope for the sonarlint analysis or exclude generated files ?
SonarLint issue tracker has the open feature request for that:
More details can be found here.