user3323287
user3323287

Reputation: 43

Is there some graphical way to create my own configuration file on SonarLint?

I downloaded the SonarLint code on Github and would like to try in the 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 the solution to analyze the projects. Is there a practical example?

Upvotes: 4

Views: 1654

Answers (1)

Tamas
Tamas

Reputation: 6420

To do this, you don't have to start from the source code, you can use the VSIX package from the Visual Studio Gallery. After installing it, just right click on the Project/References/Analyzers node in the Solution Explorer, and edit the active rule set file. SonarLint is using Roslyn, so enabling and disabling rules can be done in the standard integrated way in Visual Studio.

Upvotes: 3

Related Questions