Running sonarlint scanning from VS works fine even if there is no connection between VS and sonarqube instance. So, it seems that the plugin does indeed have some hidden default rules stored somewhere. But is it possible to have the same behavior when running
dotnet sonarscanner command. As an example if I say:
dotnet sonarscanner begin /k:“MyProj”
it is still able to run/start the scanning without the need to fetch the rules from sonarqube ?
This way I dont have to have a sonarqube instance running just to fetch those rules.
The reason I need this is because I dont care to publish any result to sonarqube when running the jenkins job. What I need is only to fail the jenkins job if there is any rule violation in my project.