Hello,
My project is only in C language.
But SonarQube detects 2 files .h in C++ and so apply C++ rules instead of C.
How is it possible to force the C rules for these two files ?
Regards.
Hello,
My project is only in C language.
But SonarQube detects 2 files .h in C++ and so apply C++ rules instead of C.
How is it possible to force the C rules for these two files ?
Regards.
Hi @Florent,
if you are compiling your file as C and you use the default file suffix property sonar.c.file.suffixes=.c,.h
you should be good. Can you make sure you are doing that?