-
Notifications
You must be signed in to change notification settings - Fork 143
Description
Is your feature request related to a problem? Please describe.
Currently, when executing Sonar Analysis, it changes the active ruleset and inject the ruleset from the servers profile. It also possible to exclude/suppress some of the rules via attribute, NoWarn or additional ruleset file with some overridden values. But all settings from GlobalAnalyzerConfig or .editorconfig in a particular directory are not taken into account.
Describe the solution you'd like
Settings from GlobalAnalyzerConfig
and the additional settings from the .editorconfig
s inside a directory should also taken into account as rule configuration source.
This is anyway the new style on how to configure rules, because they provide more detailed options. Also Microsoft already moved ruleset to Legacy
Describe alternatives you've considered
Maybe use the GlobalAnalyzerConfig
and .editorconfig
and generate a legacy ruleset for sonarqube use the SourceGenerators to generate a GlobalSuppression file.