We run a SonarQube in our company. We also installed the SonarLint for Visual Studio 2019 extension.
If I now connect a solution to the SonarQube, a file named "{MySolution}csharp.ruleset" is created. Inside are 5 nodes: "Managed Binary Analysis", "Microsoft.CodeAnalysis.CSharp", "Microsoft.CodeAnalysis.CSharp.Features", "Microsoft.CodeAnalysis.Features" and finally "SonarAnalyser.CSharp".
The project now is analysed using all of these rulesets. When I change one of these rules it is changed in my file, but not on the SonarQube server. When I change something on the SonarQube and "reload" the rules from there, the standard settings for the first 4 nodes are resetted and the now set rules inside SonarQube are inside the SonarAnalyzer.CSharp.
My question is: "How can I change some of these Microsoft rules and tell SonarQube to use these rules company wide and not only until I reload the rules from SonarQube? Is it maybe possible to set these rules as SonarAnalyzer rules (merge them) or can we set these rules parted from the normal analyzing? Or, what would make the most sense, can we say SonarQube to just actualize the SonarAnalyzer.CSharp ruleset and don't touch the other ones?"