Please provide
- Operating system: OS X 13.5
- SonarLint plugin version: 8.5.0.75082
- Programming language you’re coding in: Java
- Is connected mode used: No
- Connected to SonarCloud or SonarQube (and which version):
And a thorough description of the problem / question:
I know that my test files are not excluded as I have no exclusions defined, and because sonarlint reports other issues in this test file, but one specific rule is not being applied (even though it is applied to non test files in the same project in the same working session)
So for example, this line is reported if in src, but not if in a test java file
List<Integer> a = new ArrayList<Integer>();