We are using stylecop on all our projects also our tests projects(dotnet).
On our build agent we have SonarCloud with the task: “SonarCloudPrepare@1”
But it have a not intent effect that all our tests projects ignore errors and warnings from style cop.
So 1 developer can commit code to master branch and not see the error because he did not compile local
And then the next developer who try build master local have to fix it.
Is there a way to enable warnings and errors from style cop other than adding the property: