How to enforce rule set in developer machine without connected mode

Please provide

  • Operating system: Windows 10
  • SonarLint plugin version: 6.13.0.62767
  • Programming language you’re coding in: C#
  • Is connected mode used: No
    • Connected to SonarCloud or SonarQube (and which version):

And a thorough description of the problem / question:

  1. How to enforce the rule sets in Developer Visual Studio 2022 IDE?
  2. How to make Developer can’t skip the rule set configurations in Visual Studio 2022?

Hey there.

I guess the big question is: why do you not want to use Connected Mode?

We will explore Connected mode, but here we would like to confirm one thing if we are using Sonar Lint in connected mode, does it adds up the pricing associated to Sonar Cloud, ie will it count/ will it add up to the number of lines scan on developer machine along with Sonar Cloud integration with our CI/CD pipe lines?

No. There is no relationship between Connected Mode + SonarLint and License utilization.

Hi Colin, Could you please answer my queries on ruleset enforcement in connected mode?