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

╄→гoц情女王★ 提交于 2019-12-10 19:45:01

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/32298050/is-there-some-graphical-way-to-create-my-own-configuration-file-on-sonarlint

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!