Is there any graphic way to create my own configuration file on SonarLint?

I uploaded the SonarLint code to Github and would like to try on company projects that I work by analyzing existing code. I wonder how I could create a standard configuration file with the rules that I want to evaluate a solution for analyzing projects. Is there a practical example?

+2
source share
1 answer

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.

+1
source

Source: https://habr.com/ru/post/1233527/


All Articles