I am not a Visual Studio expert, but it is mentioned in this other thread that you can configure projects to “treat warnings as errors”. Would this fit your requirement?
JBL_SonarSource
(Jean-Baptiste Lievremont)
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| VS SonarLint getting rules from SonarQube as warning | 1 | 533 | January 13, 2020 | |
| SonarLint should use the severity specified in the Quality Profile | 8 | 1780 | February 16, 2021 | |
| VS Error List shows different severity than SonarQube | 5 | 1876 | September 23, 2020 | |
| SonarQube and Lint report different category for specific issue | 1 | 631 | August 31, 2020 | |
| Wrong severity for bugs in sonarlint globalconfig | 5 | 165 | November 22, 2024 |