Hi Jan,
Thank you for working on the rule and bringing this up again for attention.
This is currently a limitation of oclint.
Removing that condition would get the rules applied to all code.
However, there are two side effects of doing so -
1. Since all nodes are applied, the analysis time would take longer.
2. Without filtering headers, all headers will be analyzed then, this includes framework headers, library headers, and system headers. This currently could result in a large amount of false positives, and there might be violations that are totally irrelevant to the file being analyzed. For this, a practical approach is to write a post-processing script, which takes the oclint report, and extract only files of interests, e.g. `grep` for text report.
If you have any suggestions, we sincerely would like to hear from you. Thank you in advance.
Regards,
Longyi