Can I configure the used ruleset for SonarLint

后端 未结 1 1457
渐次进展
渐次进展 2021-01-05 07:48

Can I disable / enable the set of rules that are shown by SonarLint for VS? How? A similar question was already asked in Is there some graphical way to create my own configu

1条回答
  •  感情败类
    2021-01-05 07:55

    Here is how to open the active rule set of a project:

    From there, you'll be able to enable and disable rules:

    The path to the rule set file to be used is saved within your .csproj file under the ... tag. You can reference the same rule set file from multiple projects, and store the rule set along with your project sources in Git / TFVC if you'd like all developers to share the same rule set.

    0 讨论(0)
提交回复
热议问题