Sonarlint for IntelliJ displays the warning of using test libraries such as Assertions class in production code. However, the code uses the test Assertions is actually test file instead of production code. It looks like SonarLint for Eclipse and VSCode have the settings for specifying which file should be considered as tests. Intellij does not have the similar settings. Is there a way to address the problem?
- Operating system: MacOs
- SonarLint plugin version: 8.2.0.68615
- Programming language you’re coding in: Java
- Is connected mode used: No