Home:ALL Converter>How to configure a specific SonarLint Rule in Visual Studio 2015

How to configure a specific SonarLint Rule in Visual Studio 2015

Ask Time:2017-07-12T21:28:01         Author:Siraf

Json Formatter

I have SonarLint C# in Visual Studio 2015 Enterprise Update 3 on Windows 10, my solution is bound successfully with a SonarQube server, code analysis in my projects works fine, I can see the SonarLint warnings in the output window.

I want to configure the rule S103 ("Lines should not be too long") in my SonarLint plugin so that it warns me if a code line is longer than 200 instead of the builtin value of 150.

Is it possible to configure SonarLint rules? the nuget package only contains three dlls, I didn't find any config files

Author:Siraf,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/45059048/how-to-configure-a-specific-sonarlint-rule-in-visual-studio-2015
yy