You do not need to start with the source code for this; you can use the VSIX package from the Visual Studio gallery . After installing it, just right-click on the Project / References / Analyzers node in Solution Explorer and edit the active rule set file. SonarLint uses Roslyn, so enabling and disabling rules can be done in the standard integrated way in Visual Studio.
source share