I want to apply different SonarQube rules for production and test code.
For example: squid : S1192: "String literals should not be duplicated". It is quite reasonable in production but for test code is very annoying and can make it less readable.
I see how to deactive the rule but I can only disable it globally. At the same time I do not want to avoid analysing the whole test set.