Azure Devops ALM and CI
SonarQubePrepare@7
SonarQubeAnalyze@7
SonarQubePublish@7
Languages: C#, TypeScript
Error Observed:
IDE0007 is configured in our .editorconfig as ‘suggestion’ only. SonarQube reports IDE0007 as an error/issue.
To reproduce:
Set IDE0007 = suggestion in your .editorconfig. Run sonarqube prepare, analyze, publish. Sonarqube server reports a ‘Maintainability’ issue.
Workaround:
changing IDE0007 to ‘none’ gets around the issue however this is not ideal.
We are on version 2025.1.0.102418.
SQ does import those settings since it adjusts based on changing the setting from ‘suggestion’ to ‘none’. It’s also discussed in depth in the associated link that I shared.
Does turning off importing these just remove other analyzer rules (like the builtin IDE rules and Roslyn rules) from Sonarqube? Or would these rules still be included in SQ and just not use any of our settings?
The former would be ok since the analyzers run as part of our build anyways. The second seems like it would still cause the same issue.