Sonarqube: How to ignore / skip scanning of isues on certain annotation "ex. @generated" i [message #1748597] |
Fri, 25 November 2016 00:56  |
Eclipse User |
|
|
|
We are generating java codes via EMF. We want Sonar to skip issue scanning on the codes with annotations @generated but will scan @generated NOT for both class and method level.
Is there a way to do that in SonarQube and SonarLint? Also, can it be applied in other annotation?
I understand the guidelines in the sonarqube documentation. However, we don't want to add start and end delimiters on the chunk of codes generated for a thousands of codes. We want to skip only the classes or methods that are annotated with "@generated" but not the whole file. Please let me know if that is possible in Sonarqube. Some of our codes are annotated with "@generated NOT" which should also be scanned for issues.
Please help. Thank you in advance.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09782 seconds